Do not write build info if there are no files to emit
This commit is contained in:
parent
c9d407b52a
commit
bb4872b063
|
@ -251,6 +251,9 @@ namespace ts {
|
|||
state.seenAffectedFiles = createMap<true>();
|
||||
}
|
||||
|
||||
state.emittedBuildInfo = !state.changedFilesSet.size &&
|
||||
!state.affectedFilesPendingEmit;
|
||||
|
||||
return state;
|
||||
}
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@
|
|||
exitCode:: 0
|
||||
|
||||
|
||||
//// [/src/project/.tsbuildinfo] file written with same contents
|
||||
|
|
Loading…
Reference in a new issue