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 741ac42 commit ad46117Copy full SHA for ad46117
src/gcp_auth.ts
@@ -66,14 +66,12 @@ export class GoogleCloudPlatformAuth implements Authenticator {
66
if (!cmd) {
67
throw new Error('Token is expired!');
68
}
69
- const args = (config['cmd-args'] ? config['cmd-args'].split(' ') : []).map(
70
- (arg: string): string => {
71
- if (arg[0] == '\'' || arg[0] == '"') {
72
- return arg.substring(1, arg.length-1);
73
- }
74
- return arg;
+ const args = (config['cmd-args'] ? config['cmd-args'].split(' ') : []).map((arg: string): string => {
+ if (arg[0] == "'" || arg[0] == '"') {
+ return arg.substring(1, arg.length - 1);
75
76
- );
+ return arg;
+ });
77
// TODO: Cache to file?
78
// TODO: do this asynchronously
79
let output: any;
0 commit comments