mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 02:33:53 -06:00
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…
x
Reference in New Issue
Block a user