Skip to content

Commit 49bfefb

Browse files
committed
Remove extra output
1 parent 70bb58a commit 49bfefb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

compiler/src/main/buildjar/com/google/devtools/build/buildjar/BazelEcjJavaBuilder.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,10 @@ protected int build(
110110
if (result.status() == Status.REQUIRES_FALLBACK) {
111111
return 0;
112112
}
113-
for (FormattedDiagnostic d : result.diagnostics()) {
114-
err.write(d.getFormatted() + "\n");
115-
}
113+
// disabled to prevent additional output of error message without much value (the errors are contained in the result output)
114+
// for (FormattedDiagnostic d : result.diagnostics()) {
115+
// err.write(d.getFormatted() + "\n");
116+
// }
116117
err.write(result.output());
117118
return result.isOk() ? 0 : 1;
118119
}

0 commit comments

Comments
 (0)