Sublime merge
runs in its own context and so when running husky
pre-commit
script it might not be able to find a
command (eg: npx
). The solution is to update the PATH
with your bin
within the husky script.
Open .husky/_/h
and upadte the PATH
.
PATH="/Users/jon/.n/bin:$PATH"