Skip to content

Commit 0be9a22

Browse files
committed
Remove unnecessary check since seenEmittedFiles is set when getting pending affected files
1 parent 707cb93 commit 0be9a22

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/compiler/builder.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -811,11 +811,6 @@ namespace ts {
811811
}
812812
}
813813

814-
// Mark seen emitted files if there are pending files to be emitted
815-
if (state.affectedFilesPendingEmit && state.program !== affected) {
816-
(state.seenEmittedFiles || (state.seenEmittedFiles = createMap())).set((affected as SourceFile).path, true);
817-
}
818-
819814
return toAffectedFileResult(
820815
state,
821816
// When whole program is affected, do emit only once (eg when --out or --outFile is specified)

0 commit comments

Comments
 (0)