-
Notifications
You must be signed in to change notification settings - Fork 14
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
Precommit hooks print duplicate error message. #1359
Comments
@pixelzoom - It looks like @samreid posted a commit to address this issue, but maybe it is not working for you? |
I'm no longer seeing duplicate lint errors. But I'm still seeing duplicate tsc error messages. For example, 1 error, 2 duplicate messages:
Compare to what I see when running tsc directly: 1 error, 1 message.
|
I saw this as well--it seems tsc has a self-printing phase, so the prior fix only fixed other tasks. I'll take a look at tsc now. |
OK I pushed a fix and it seems better in my testing, @pixelzoom can you please verify? Please close if all is well. |
Fix tested, much nicer output. For the example above, I now see:
Thanks. Closing. |
Reported in #1350 (comment) 12 days ago. It's partially fixed but still some problems.
Slack#developer:
@pixelzoom:
I noticed that there were some changes to git hooks today. When I encounter errors, I’m now seeing duplicate errors in WebStorm console, for example see below. Is it possible that something is being run twice?
@zepumph:
Most likely it's just duplicate logging. "lint" is in a child process now, so there are probably two spots where we report logging from the subtask. I'd just note it in #1350
The text was updated successfully, but these errors were encountered: