Skip to content

Commit 9fc919f

Browse files
committed
Make throwOnError the *same* as compilerOptions.noEmitOnError.
1 parent 8616de7 commit 9fc919f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/typescript-preprocessor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class TypeScriptPreprocessor {
4242

4343
const ts = debugTree(
4444
tsc(uncompiledTs, {
45-
throwOnError: !this.config.compilerOptions.noEmitOnError,
45+
throwOnError: this.config.compilerOptions.noEmitOnError,
4646
annotation: 'Compiled TS files',
4747
include: ['**/*'],
4848
tsconfig: this.config,

0 commit comments

Comments
 (0)