husky-init
husky-init copied to clipboard
equality check inside if statement
hi, not sure if this is a problem, but I had to change an equality sign to single equal in a check (same as the rest of them) inside the pre-configured husky.sh file that comes with the script (I am not a shell programmer):
if [ $exitCode == 127 ]; then
echo "husky - command not found in PATH=$PATH"
fi
rest of the script uses a single equality sign so I had to fix it after running the script (I am using MacOS, M1 Pro machine)
EDIT: I am sorry - this happens on a Linux machine, on MacOS for some reason it works without problem; sorry for the confusion