Skip to content

Commit a7460c1

Browse files
authored
Update exec_auth.ts
1 parent 8deed5b commit a7460c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/exec_auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class ExecAuth implements Authenticator {
9595
}
9696
let opts = {};
9797
if (exec.env) {
98-
const env = process.env;
98+
const env = { ...process.env };
9999
exec.env.forEach((elt) => (env[elt.name] = elt.value));
100100
opts = { ...opts, env };
101101
}

0 commit comments

Comments
 (0)