mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 00:11:45 +03:00
`System.getProperty` does not return `null`, it returns `"null"`
🤦.
I broke the internet, sorry.
This commit is contained in:
parent
b76e4d678d
commit
43c80da8a3
@ -59,7 +59,9 @@ object JVMSettings {
|
||||
|
||||
private def jvmOptionIfSet(name: String): Option[(String, String)] = {
|
||||
val propertyValue = System.getProperty(name)
|
||||
Option(propertyValue).map((name, _))
|
||||
if (propertyValue != null && !propertyValue.isEmpty)
|
||||
Some((name, propertyValue))
|
||||
else None
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user