We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c658a7 commit 80b8d85Copy full SHA for 80b8d85
src/main/java/ru/nucodelabs/gem/app/GemApplication.kt
@@ -83,7 +83,7 @@ class GemApplication : GuiceApplication(AppModule()) {
83
val expFiles = params.filter { it.endsWith(".EXP", ignoreCase = true) }
84
val jsonFiles = params.filter { it.endsWith(".json", ignoreCase = true) }
85
86
- loadMainViewWithEXPFiles(expFiles.map { File(it) })
+ if (expFiles.isNotEmpty()) loadMainViewWithEXPFiles(expFiles.map { File(it) })
87
jsonFiles.forEach { jsonFile -> loadMainViewWithJsonFile(File(jsonFile)) }
88
89
return expFiles.isNotEmpty() or jsonFiles.isNotEmpty()
0 commit comments