More resource cleanup

This commit is contained in:
darken
2022-09-14 18:00:18 +02:00
committed by Matthias Urhahn
parent 26da600761
commit 6ea260a81f
88 changed files with 4008 additions and 194 deletions
+1 -4
View File
@@ -118,8 +118,5 @@ fun getBugSnagApiKey(
propertiesPath?.takeIf { it.canRead() }?.let { load(FileInputStream(it)) }
}
val key = System.getenv("BUGSNAG_API_KEY") ?: bugsnagProps.getProperty("bugsnag.apikey")
println("Using key = $key")
return key
return System.getenv("BUGSNAG_API_KEY") ?: bugsnagProps.getProperty("bugsnag.apikey")
}