Skip to content

Commit

Permalink
Make throwOnError the *same* as compilerOptions.noEmitOnError.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho committed Jul 31, 2017
1 parent 8616de7 commit 9fc919f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/typescript-preprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class TypeScriptPreprocessor {

const ts = debugTree(
tsc(uncompiledTs, {
throwOnError: !this.config.compilerOptions.noEmitOnError,
throwOnError: this.config.compilerOptions.noEmitOnError,
annotation: 'Compiled TS files',
include: ['**/*'],
tsconfig: this.config,
Expand Down

0 comments on commit 9fc919f

Please sign in to comment.