Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment