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.
1 parent 15c7b7b commit 6f1a596Copy full SHA for 6f1a596
packages/core/src/v3/workers/populateEnv.ts
@@ -57,7 +57,7 @@ export function populateEnv(
57
if (previousEnv) {
58
// if there are any keys in previousEnv that are not in envObject, remove them from process.env
59
for (const key of Object.keys(previousEnv)) {
60
- if (!envObject[key]) {
+ if (!Object.prototype.hasOwnProperty.call(envObject, key)) {
61
delete process.env[key];
62
}
63
0 commit comments