Open TimPaulaskasDS opened 5 months ago
Do you mean lint-staged abruptly exits at the last log line:
lint-staged:execGit Running git command [
'ls-files',
'-z',
'--full-name',
'-t',
'--others',
'--exclude-standard'
] +23ms
Does running that git command manually work?
Correct, it just ends. And I can run the git command without error.
@iiroj I have an issue when trying to upgrade from version 11 to 12+. Even though I am using Node v20.
I have manually run it instead of using husky to reproduce the issue.
Before with version 11
After upgrading to v15.2.6
Exits with an error code 1
This is my lint-staged chunk from my package.json file:
Originally posted by @TimPaulaskasDS in https://github.com/lint-staged/lint-staged/issues/1341#issuecomment-2162602485