We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The script used in the TypeScript preConvert stage doesn't:
preConvert
tsc
stderr
The existing script is (with line breaks):
TMP_IN=$(mktemp XXXXXXXXXX.ts); TMP_OUT=$(mktemp XXXXXXXXXX.js); cat /dev/stdin > ${TMP_IN} && tsc --out ${TMP_OUT} ${TMP_IN} && cat ${TMP_OUT}; rm ${TMP_IN} && rm ${TMP_OUT}
To improve on the situation the script could:
Something like this (I've tested in this in a custom ShakespeareSettings value):
ShakespeareSettings
TMP_IN=$(mktemp XXXXXXXXXX.ts); TMP_OUT=$(mktemp XXXXXXXXXX.js); trap "rm ${TMP_OUT};" EXIT; trap "rm ${TMP_IN};" EXIT; cat /dev/stdin > ${TMP_IN} && tsc --out ${TMP_OUT} ${TMP_IN} 1>&2 && cat ${TMP_OUT}
If this sounds good I can submit a PR.
Thanks for this library, by the way! 🙂
The text was updated successfully, but these errors were encountered:
I'm not familiar with the TypeScript code, but this sounds reasonable. @gregwebs do you have any input?
Sorry, something went wrong.
sounds good to me
No branches or pull requests
The script used in the TypeScript
preConvert
stage doesn't:tsc
stderr
The existing script is (with line breaks):
To improve on the situation the script could:
tsc
command as the last one, thus returning tsc's error codeSomething like this (I've tested in this in a custom
ShakespeareSettings
value):If this sounds good I can submit a PR.
Thanks for this library, by the way! 🙂
The text was updated successfully, but these errors were encountered: