Skip to content

Commit

Permalink
Fix env variables to include existing environment variables, then ove…
Browse files Browse the repository at this point in the history
…rride.
  • Loading branch information
brendandburns committed May 20, 2019
1 parent e5ec945 commit f5c62b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exec_auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class ExecAuth implements Authenticator {
}
let opts: shell.ExecOpts;
if (exec.env) {
const env = {};
const env = process.env;
exec.env.forEach((elt) => (env[elt.name] = elt.value));
opts = { env };
}
Expand Down

0 comments on commit f5c62b9

Please sign in to comment.