diff --git a/packages/worker/src/environment.ts b/packages/worker/src/environment.ts index f4c339ad6d..37d40a2a9c 100644 --- a/packages/worker/src/environment.ts +++ b/packages/worker/src/environment.ts @@ -89,7 +89,7 @@ for (let [key, value] of Object.entries(environment)) { // handle the edge case of "0" to disable an environment variable if (value === "0") { // @ts-ignore - env[key] = 0 + environment[key] = 0 } }