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,8 +138,10 @@ public class Compiler extends AbstractCompiler {
}
private void printMessage(String message) {
if (optionVerbose.value()) {
System.out.println(message);
}
}
private void writeToFile(Path path, String str) throws CompilerException {
try (BufferedWriter writer = Files.newBufferedWriter(path)) {
......
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