Skip to content

Commit

Permalink
Update src/compiler/builder.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
  • Loading branch information
sheetalkamat and sandersn committed Oct 9, 2020
1 parent 4fa1d78 commit a3968e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/compiler/builder.ts
Expand Up @@ -1037,7 +1037,8 @@ namespace ts {
savedAffectedFilesPendingEmitIndex = state.affectedFilesPendingEmitIndex;
}

if (kind === BuilderProgramKind.EmitAndSemanticDiagnosticsBuilderProgram) assertSourceFileOkWithoutNextAffectedCall(state, targetSourceFile);
if (kind === BuilderProgramKind.EmitAndSemanticDiagnosticsBuilderProgram)
assertSourceFileOkWithoutNextAffectedCall(state, targetSourceFile);
const result = handleNoEmitOptions(builderProgram, targetSourceFile, writeFile, cancellationToken);
if (result) return result;

Expand Down

0 comments on commit a3968e7

Please sign in to comment.