Always remove extension from script file
Fix for 35631dc2df refactoring.
Extension was actually always removed before refactoring.
This commit is contained in:
+1
-1
@@ -188,7 +188,7 @@ private class ScriptCommandLineState(
|
||||
|
||||
override fun createJavaParameters(): JavaParameters? {
|
||||
val params = commonParameters()
|
||||
|
||||
|
||||
val filePath = configuration.filePath ?: throw CantRunException("Script file was not specified")
|
||||
val scriptVFile = LocalFileSystem.getInstance().findFileByIoFile(File(filePath)) ?:
|
||||
throw CantRunException("Script file was not found in project")
|
||||
|
||||
Reference in New Issue
Block a user