From 72d23c7937f270db2e23b5daa600757d8bbb62d5 Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Tue, 31 Mar 2015 17:48:07 -0700 Subject: [PATCH] Remove unnecessary code. --- src/services/services.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/services/services.ts b/src/services/services.ts index a518c3a94d..19c545019a 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -5369,12 +5369,6 @@ module ts { function getEmitOutput(fileName: string): EmitOutput { synchronizeHostData(); - // If the option is set to not emit on errors, and there are any errors, then we don't - // want to proceed. - if (program.getCompilerOptions().noEmitOnError && getPreEmitDiagnostics(program).length > 0) { - return { outputFiles: [], emitSkipped: true }; - } - let sourceFile = getValidSourceFile(fileName); let outputFiles: OutputFile[] = [];