Skip to content

Commit e6881db

Browse files
authored
Merge pull request #252 from foxylion/bugfix/251
Fix console output when running auth code
2 parents f4304dd + 8cf2218 commit e6881db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/exec_auth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ export class ExecAuth implements Authenticator {
5252
if (exec.args) {
5353
cmd = `${cmd} ${exec.args.join(' ')}`;
5454
}
55-
let opts: shell.ExecOpts;
55+
let opts: shell.ExecOpts = { silent: true };
5656
if (exec.env) {
5757
const env = process.env;
5858
exec.env.forEach((elt) => (env[elt.name] = elt.value));
59-
opts = { env };
59+
opts = { ...opts, env };
6060
}
6161
const result = this.execFn(cmd, opts);
6262
if (result.code === 0) {

0 commit comments

Comments
 (0)