only log files compiled if verbose is enabled
This commit is contained in:
@@ -86,7 +86,9 @@ public class K2JSCompiler extends CLICompiler<K2JSCompilerArguments, K2JSCompile
|
||||
private static JetCoreEnvironment getEnvironment(K2JSCompilerArguments arguments, Disposable rootDisposable) {
|
||||
final JetCoreEnvironment environmentForJS = JetCoreEnvironment.getCoreEnvironmentForJS(rootDisposable);
|
||||
environmentForJS.addSources(arguments.srcdir);
|
||||
System.out.println("Compiling source files: " + environmentForJS.getSourceFiles());
|
||||
if (arguments.isVerbose()) {
|
||||
System.out.println("Compiling source files: " + environmentForJS.getSourceFiles());
|
||||
}
|
||||
return environmentForJS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user