我在提交文件之前使用Husky来检查文件。
但是今天突然遇到一些奇怪的问题,如下所示
╰─ node_modules/husky/run.js pre-commit husky > pre-commit (node v10.15.0) ↓ Stashing changes... [skipped]
→ No partially staged files found... ❯ Running tasks...
❯ Running tasks for {src}/**/*.{js,ts}
✖ tslint -c tslint.json
git add
⚠ tslint -c tslint.json was terminated with SIGABRT
husky > pre-commit hook failed (add --no-verify to bypass).
我试过谷歌和许多 StackOverflow 链接,但没有运气。任何帮助表示赞赏。