Skip to content

Commit a3968e7

Browse files
Update src/compiler/builder.ts
Co-authored-by: Nathan Shively-Sanders <[email protected]>
1 parent 4fa1d78 commit a3968e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compiler/builder.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,8 @@ namespace ts {
10371037
savedAffectedFilesPendingEmitIndex = state.affectedFilesPendingEmitIndex;
10381038
}
10391039

1040-
if (kind === BuilderProgramKind.EmitAndSemanticDiagnosticsBuilderProgram) assertSourceFileOkWithoutNextAffectedCall(state, targetSourceFile);
1040+
if (kind === BuilderProgramKind.EmitAndSemanticDiagnosticsBuilderProgram)
1041+
assertSourceFileOkWithoutNextAffectedCall(state, targetSourceFile);
10411042
const result = handleNoEmitOptions(builderProgram, targetSourceFile, writeFile, cancellationToken);
10421043
if (result) return result;
10431044

0 commit comments

Comments
 (0)