Minor: Fix bug introduced by the refactoring
This commit is contained in:
@@ -190,8 +190,8 @@ public class K2JSCompiler extends CLICompiler<K2JSCompilerArguments> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
File outputPostfixFile = null;
|
File outputPostfixFile = null;
|
||||||
if (arguments.getOutputPrefix() != null) {
|
if (arguments.getOutputPostfix() != null) {
|
||||||
outputPostfixFile = new File(arguments.getOutputPrefix());
|
outputPostfixFile = new File(arguments.getOutputPostfix());
|
||||||
if (!outputPostfixFile.exists()) {
|
if (!outputPostfixFile.exists()) {
|
||||||
messageCollector.report(ERROR, "Output postfix file '" + arguments.getOutputPostfix() + "' not found", null);
|
messageCollector.report(ERROR, "Output postfix file '" + arguments.getOutputPostfix() + "' not found", null);
|
||||||
return ExitCode.COMPILATION_ERROR;
|
return ExitCode.COMPILATION_ERROR;
|
||||||
|
|||||||
Reference in New Issue
Block a user