trying to fix maven build
This commit is contained in:
@@ -25,6 +25,7 @@ import org.jetbrains.jet.cli.jvm.compiler.CompileEnvironmentException;
|
||||
import org.jetbrains.jet.cli.jvm.compiler.CompileEnvironmentUtil;
|
||||
|
||||
import java.io.PrintStream;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import static org.jetbrains.jet.cli.common.ExitCode.INTERNAL_ERROR;
|
||||
@@ -50,6 +51,9 @@ public abstract class CLICompiler<A extends CompilerArguments, C extends Compile
|
||||
protected boolean parseArguments(@NotNull PrintStream errStream, @NotNull A arguments, @NotNull String[] args) {
|
||||
try {
|
||||
arguments.freeArgs = Args.parse(arguments, args);
|
||||
if (arguments.freeArgs == null) {
|
||||
arguments.freeArgs = Collections.emptyList();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
catch (IllegalArgumentException e) {
|
||||
|
||||
Reference in New Issue
Block a user