Fix dump of tracing legend (#43263)

This commit is contained in:
Andrew Casey
2021-03-16 10:57:10 -07:00
committed by GitHub
parent ea92e3f2a0
commit ae884b1a38
2 changed files with 2 additions and 1 deletions

View File

@@ -501,7 +501,7 @@ namespace ts {
updateSolutionBuilderHost(sys, cb, buildHost);
const builder = createSolutionBuilder(buildHost, projects, buildOptions);
const exitStatus = buildOptions.clean ? builder.clean() : builder.build();
tracing?.dumpLegend();
dumpTracingLegend(); // Will no-op if there hasn't been any tracing
return sys.exit(exitStatus);
}