From e7327b8c183d417947c5216ea1bdbf4b55a2250a Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Wed, 17 Sep 2025 17:04:57 +0200 Subject: [PATCH] fix --- src/main/kotlin/alfred/web/system/ProcessEnvironment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/alfred/web/system/ProcessEnvironment.kt b/src/main/kotlin/alfred/web/system/ProcessEnvironment.kt index 7de4ab4..9f61370 100644 --- a/src/main/kotlin/alfred/web/system/ProcessEnvironment.kt +++ b/src/main/kotlin/alfred/web/system/ProcessEnvironment.kt @@ -22,7 +22,7 @@ class ProcessEnvironment { val newEnv = mutableMapOf() newEnv.putAll(env) - newEnv.filter { it.key.contains("ALFRED") }.forEach { env.remove(it.key) } + newEnv.filter { it.key.contains("ALFRED") }.forEach { newEnv.remove(it.key) } newEnv.putAll(config.env) newEnv["ALFRED_LOG_FILE"] = logFile.backingFile.absolutePath newEnv["ALFRED_REV"] = rev ?: ""