Skip to content

Commit 5deea41

Browse files
Improve Error Message
1 parent bf0575d commit 5deea41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/git-auto-commit.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ END
11081108
run git_auto_commit
11091109

11101110
assert_failure;
1111-
assert_line "::error::Repository is in detached HEAD state. Please checkout a branch before committing."
1111+
assert_line "::error::Repository is in detached HEAD state. Please make sure you check out a branch. Adjust the `ref` input accordingly."
11121112
}
11131113

11141114
@test "it creates a tag if create_git_tag_only is set to true and a message has been supplied" {

0 commit comments

Comments
 (0)