Closed TimvdLippe closed 5 years ago
The same issue happens for the following error:
error TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'.
Therefore I assume that all process errors from the command line args validation is returning an error code of 0 instead of 1.
TypeScript Version: 3.6.3, 3.6.2 and typescript@next
Search Terms: build option file not found Code
Expected behavior: In 3.5.3, this still prints the following:
Actual behavior: Since 3.6.2, this prints the following:
As such, it is not possible to detect for infastructure scripts (that invoke
tsc
) to know whentsc
was not able to find thetsconfig.json
file.Playground Link:
Related Issues: