-
Notifications
You must be signed in to change notification settings - Fork 99
Ensure errors are emitted when ts:precompile fails #984
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
Conversation
Floating-deps tests should start passing again once zloirock/core-js#710 is resolved |
Updated from master, rerunning CI now. Also reviewing! |
'--pretty', 'true', | ||
], { | ||
preferLocal: true, | ||
all: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind adding a comment here explaining why we want this? Will make maintenance easier. (I just went and read the execa
docs to figure it out, figure it'll save us time in the future from doing the same.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! execa
is one of those that I've used enough places that I've lost any good sense of which options are self-describing and which aren't 🙃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I sympathize!
Thanks, I just hit this bug and was about to make the same PR when I saw it's already fixed on master. |
Released in 3.1.2 |
As noted both in Discord and in #973, we currently don't emit any of
tsc
's output when it fails duringts:precompile
. This ensures we capture and re-emit any output when the command exits with a nonzero code, and adds a test to make sure we don't regress in the future.