Mac 下 husky 无效问题解决
Teo 2022/8/5 husky
Mac 下如果出现以下提示,应该是权限问题
The '.husky/pre-commit' hook was ignored because it's not set as executable.
1
只需执行以下命令即可
$ chmod 700 .husky/commit-msg
$ chmod 700 .husky/pre-commit
1
2
2
Mac 下如果出现以下提示,应该是权限问题
The '.husky/pre-commit' hook was ignored because it's not set as executable.
只需执行以下命令即可
$ chmod 700 .husky/commit-msg
$ chmod 700 .husky/pre-commit