Skip to content

Commit 72d23c7

Browse files
Remove unnecessary code.
1 parent 1385d9b commit 72d23c7

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/services/services.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5369,12 +5369,6 @@ module ts {
53695369
function getEmitOutput(fileName: string): EmitOutput {
53705370
synchronizeHostData();
53715371

5372-
// If the option is set to not emit on errors, and there are any errors, then we don't
5373-
// want to proceed.
5374-
if (program.getCompilerOptions().noEmitOnError && getPreEmitDiagnostics(program).length > 0) {
5375-
return { outputFiles: [], emitSkipped: true };
5376-
}
5377-
53785372
let sourceFile = getValidSourceFile(fileName);
53795373
let outputFiles: OutputFile[] = [];
53805374

0 commit comments

Comments
 (0)