Cleanup
This commit is contained in:
parent
94ac00a90c
commit
7280be6ce3
|
@ -71,7 +71,7 @@ inputs:
|
|||
description: Create new branch with the name of `branch`-input in local and remote repository, if it doesn't exist yet.
|
||||
default: false
|
||||
internal_git_binary:
|
||||
description: Internal use only. Path git binary that should be used.
|
||||
description: Internal use only! Path to git binary used to check if git is available. (Don't change this!)
|
||||
default: git
|
||||
|
||||
outputs:
|
||||
|
|
|
@ -46,10 +46,9 @@ _main() {
|
|||
|
||||
_check_if_git_is_available() {
|
||||
if hash -- "$INPUT_INTERNAL_GIT_BINARY" 2> /dev/null; then
|
||||
echo "git found";
|
||||
echo "::debug::git binary found";
|
||||
echo "::debug::git binary found.";
|
||||
else
|
||||
echo "::error ::git not found. git-auto-commit requires git to be available."
|
||||
echo "::error ::git-auto-commit could not find git binary. Please make sure git is available."
|
||||
exit 1;
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -1051,5 +1051,5 @@ cat_github_output() {
|
|||
run git_auto_commit
|
||||
|
||||
assert_failure;
|
||||
assert_line "::error ::git not found. git-auto-commit requires git to be available."
|
||||
assert_line "::error ::git-auto-commit could not find git binary. Please make sure git is available."
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue