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 b76e4d6 commit 43c80daCopy full SHA for 43c80da
lib/scala/runtime-version-manager/src/main/scala/org/enso/runtimeversionmanager/runner/JVMSettings.scala
@@ -59,7 +59,9 @@ object JVMSettings {
59
60
private def jvmOptionIfSet(name: String): Option[(String, String)] = {
61
val propertyValue = System.getProperty(name)
62
- Option(propertyValue).map((name, _))
+ if (propertyValue != null && !propertyValue.isEmpty)
63
+ Some((name, propertyValue))
64
+ else None
65
}
66
67
0 commit comments