Commit 92a9d0e4 authored by René Schöne's avatar René Schöne
Browse files

Only print compiler messages if --verbose flag is given.

parent 3d6f61cd
...@@ -138,7 +138,9 @@ public class Compiler extends AbstractCompiler { ...@@ -138,7 +138,9 @@ public class Compiler extends AbstractCompiler {
} }
private void printMessage(String message) { private void printMessage(String message) {
System.out.println(message); if (optionVerbose.value()) {
System.out.println(message);
}
} }
private void writeToFile(Path path, String str) throws CompilerException { private void writeToFile(Path path, String str) throws CompilerException {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment