Cleanup Error Message

This commit is contained in:
Stefan Zweifel 2022-11-05 11:39:38 +01:00
parent c2499a189e
commit 94ac00a90c
2 changed files with 2 additions and 3 deletions

View File

@ -50,8 +50,7 @@ _check_if_git_is_available() {
echo "::debug::git binary found"; echo "::debug::git binary found";
else else
echo "::error ::git not found. git-auto-commit requires git to be available." echo "::error ::git not found. git-auto-commit requires git to be available."
echo "git not found. git-auto-commit requires git to be available." >&2 exit 1;
exit 1
fi fi
} }

View File

@ -1051,5 +1051,5 @@ cat_github_output() {
run git_auto_commit run git_auto_commit
assert_failure; assert_failure;
assert_line "git not found. git-auto-commit requires git to be available." assert_line "::error ::git not found. git-auto-commit requires git to be available."
} }