Skip to content

Commit b71235e

Browse files
committed
Fix up generated code.
1 parent aa6e2e3 commit b71235e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/gcp_auth.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,12 @@ export class GoogleCloudPlatformAuth implements Authenticator {
6666
if (!cmd) {
6767
throw new Error('Token is expired!');
6868
}
69-
const cmdPath = config['cmd-path'];
7069
const args = config['cmd-args'] ? config['cmd-args'].split(' ') : [];
7170
// TODO: Cache to file?
7271
// TODO: do this asynchronously
7372
let output: any;
7473
try {
75-
output = proc.execFileSync(cmdPath, args);
74+
output = proc.execFileSync(cmd, args);
7675
} catch (err) {
7776
throw new Error('Failed to refresh token: ' + (err as Error).message);
7877
}

0 commit comments

Comments
 (0)