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.
environ
1 parent 84ab8cd commit e0744e2Copy full SHA for e0744e2
runtime/runtime-core/mingw/src/aws/smithy/kotlin/runtime/util/SystemDefaultProviderMingw.kt
@@ -18,7 +18,7 @@ public actual object SystemDefaultProvider : SystemDefaultProviderBase() {
18
19
actual override fun getAllEnvVars(): Map<String, String> = memScoped {
20
generateSequence(0) { it + 1 }
21
- .map { idx -> environ.get(idx)?.toKString() }
+ .map { idx -> environ?.get(idx)?.toKString() }
22
.takeWhile { it != null }
23
.associate { env ->
24
val parts = env?.split("=", limit = 2)
0 commit comments