Skip to content

Commit

Permalink
Merge pull request #523 from rmacklin/fix-error-message-in-pre-build-…
Browse files Browse the repository at this point in the history
…sample-hook

Fix duplicate error message in pre-build.sample
  • Loading branch information
djmb authored Nov 16, 2023
2 parents 1152151 + f96d071 commit 635876b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kamal/cli/templates/sample_hooks/pre-build.sample
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fi
current_branch=$(git branch --show-current)

if [ -z "$current_branch" ]; then
echo "No git remote set, aborting..." >&2
echo "Not on a git branch, aborting..." >&2
exit 1
fi

Expand Down

0 comments on commit 635876b

Please sign in to comment.