New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exit with exit code 1 without printing anything #1365
Comments
I saw the same phenomenon. |
P.S. |
The debug mode uses a different Listr2 renderer as seen here: lint-staged/lib/getRenderer.js Lines 57 to 64 in 4d4270b
Does it work with |
With |
Hello, I came to the same conclusion before coming across this issue because I was searching for one mentioning I had the same issue. By default, my Adding |
I just upgraded all of the deps of my project and precommit hook stops working.
yarn lint-staged
will exit with exit code 1 without printing anythingI changed my precommit hook from
yarn lint-staged
toyarn lint-staged --debug
and it works again, which bunch debug info printed.The root cause is likely coming from eslint or something else. But still, I don't expect lint-staged to exit with an error without printing anything. The the fact that add
--debug
resolves it properbly means it islint-staged
issue.Using
15.1.0
here is the logs (that works)
The text was updated successfully, but these errors were encountered: