完整报错
git -c diff.mnemonicprefix=false -c core.quotepath=false commit -q -F C:\Users\honry.guan\AppData\Local\Temp\buamumbr.zkw
husky > pre-commit (node v12.10.0)
The "path" argument must be of type string. Received type undefined
husky > pre-commit hook failed (add --no-verify to bypass)
可能原因:
我碰到过几次,可能是当时网络不好
解决方案:再次重新拉取代码就行