Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
protected_branch='master'
current_branch=$(git branch --show-current)

if [ $protected_branch = $current_branch ]
if [ "$protected_branch" = "$current_branch" ]
then
echo "Pushing to $protected_branch is a sin! Instead, create a pull request and repent."
exit 1 # push will not execute
Expand Down
Loading