Skip to content

Commit

Permalink
Fix JsCompiler to print source after each pass when only transpilatio…
Browse files Browse the repository at this point in the history
…n passes run.

PiperOrigin-RevId: 601265925
  • Loading branch information
Closure Team authored and copybara-github committed Jan 25, 2024
1 parent 841eb8a commit 21d99ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/com/google/javascript/jscomp/Compiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,9 @@ public void transpileAndDontCheck() {
if (hasErrors()) {
return;
}
beforePass(pf.getName());
pf.create(this).process(externsRoot, jsRoot);
afterPass(pf.getName());
}
} finally {
stopTracer(t, "runTranspileOnlyPasses");
Expand Down

0 comments on commit 21d99ee

Please sign in to comment.