Husky hooks skipped

Husky hooks skipped

sourceTree遇到使用husky 会报错的情况:

error
1
2
3
....
Can't find yarn in PATH:......
Skipping pre-push hook

解决方案:

add this in ~/.huskyrc:

huskyrc
1
PATH="/usr/local/bin:$PATH"

参考链接

作者

Sea

发布于

2021-04-02

更新于

2023-01-10

许可协议

评论