express-generator-typescript icon indicating copy to clipboard operation
express-generator-typescript copied to clipboard

Build exits cleanly even if there are errors

Open spinningarrow opened this issue 2 years ago • 1 comments

In build.ts when there is an error, the script simply logs it without exiting with a non-zero exit code.

This causes build systems to continue with the build process even though the code may not compile.

A process.exit(1) after the log should fix this.

spinningarrow avatar Aug 03 '22 10:08 spinningarrow

hmm, can you create a pull request?

seanpmaxwell avatar Aug 27 '22 16:08 seanpmaxwell

Done

seanpmaxwell avatar Aug 13 '23 04:08 seanpmaxwell