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 c018ad8 commit 741ac42Copy full SHA for 741ac42
src/gcp_auth.ts
@@ -83,10 +83,6 @@ export class GoogleCloudPlatformAuth implements Authenticator {
83
throw new Error('Failed to refresh token: ' + (err as Error).message);
84
}
85
86
- // remove leading and trailing `'` from the output
87
- output = output.toString();
88
- output = output.replace(/'/g, '');
89
- output = output.replace(/\'$/, '');
90
const resultObj = JSON.parse(output);
91
92
const tokenPathKeyInConfig = config['token-key'];
0 commit comments