Skip to content

Commit 741ac42

Browse files
committed
Revert initial fix
1 parent c018ad8 commit 741ac42

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/gcp_auth.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,6 @@ export class GoogleCloudPlatformAuth implements Authenticator {
8383
throw new Error('Failed to refresh token: ' + (err as Error).message);
8484
}
8585

86-
// remove leading and trailing `'` from the output
87-
output = output.toString();
88-
output = output.replace(/'/g, '');
89-
output = output.replace(/\'$/, '');
9086
const resultObj = JSON.parse(output);
9187

9288
const tokenPathKeyInConfig = config['token-key'];

0 commit comments

Comments
 (0)