Minor: remove duplicate registering of module name
This commit is contained in:
@@ -126,7 +126,6 @@ public open class K2JVMCompiler : CLICompiler<K2JVMCompilerArguments>() {
|
|||||||
configuration.put(JVMConfigurationKeys.MODULE_NAME, arguments.moduleName ?: JvmAbi.DEFAULT_MODULE_NAME)
|
configuration.put(JVMConfigurationKeys.MODULE_NAME, arguments.moduleName ?: JvmAbi.DEFAULT_MODULE_NAME)
|
||||||
|
|
||||||
if (arguments.module == null && arguments.freeArgs.isEmpty() && !arguments.version) {
|
if (arguments.module == null && arguments.freeArgs.isEmpty() && !arguments.version) {
|
||||||
configuration.put(JVMConfigurationKeys.MODULE_NAME, "replModule")
|
|
||||||
ReplFromTerminal.run(rootDisposable, configuration)
|
ReplFromTerminal.run(rootDisposable, configuration)
|
||||||
return ExitCode.OK
|
return ExitCode.OK
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user