Git 以SIGABRT终止
在提交文件之前,我正在使用linting文件 但今天突然出现了一些奇怪的问题,如下所示Git 以SIGABRT终止,git,tslint,husky,git-husky,Git,Tslint,Husky,Git Husky,在提交文件之前,我正在使用linting文件 但今天突然出现了一些奇怪的问题,如下所示 ╰─ 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}/**
╰─ 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链接,但没有运气。非常感谢您的帮助。这与Git无关。中止信号可以来自不同的点,但最常见的情况是自检。
tslint。。。使用SIGABRT终止,因此表明tslint
未通过一些内部自检并停止(可能是为了避免损坏东西)。你会想看看tslint在做什么,这与Git无关。中止信号可以来自不同的点,但最常见的情况是自检。tslint。。。使用SIGABRT终止,因此表明tslint
未通过一些内部自检并停止(可能是为了避免损坏东西)。你会想调查一下tslint在做什么。