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 authored and nikoladavitkovski committed Sep 5, 2022
1 parent 8e45818 commit 8d0499a
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 8d0499a

Please sign in to comment.