Skip to content

Commit

Permalink
fix: use POSIX equality operator
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed May 9, 2022
1 parent eff7a08 commit 90a69a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion husky.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if [ -z "$husky_skip_init" ]; then
echo "husky - $hook_name hook exited with code $exitCode (error)"
fi

if [ $exitCode == 127 ]; then
if [ $exitCode = 127 ]; then
echo "husky - command not found in PATH=$PATH"
fi

Expand Down

0 comments on commit 90a69a2

Please sign in to comment.