Merge pull request #523 from rmacklin/fix-error-message-in-pre-build-sample-hook

Fix duplicate error message in pre-build.sample
This commit is contained in:
Donal McBreen
2023-11-16 08:51:22 +00:00
committed by GitHub

View File

@@ -32,7 +32,7 @@ fi
current_branch=$(git branch --show-current) current_branch=$(git branch --show-current)
if [ -z "$current_branch" ]; then if [ -z "$current_branch" ]; then
echo "No git remote set, aborting..." >&2 echo "Not on a git branch, aborting..." >&2
exit 1 exit 1
fi fi