Remove unnecessary code.
This commit is contained in:
parent
1385d9b50c
commit
72d23c7937
1 changed files with 0 additions and 6 deletions
|
@ -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[] = [];
|
||||
|
||||
|
|
Loading…
Reference in a new issue