Skip to content

Commit c4cb199

Browse files
committed
remove redundant sanitisation
1 parent ed66110 commit c4cb199

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/utils/account.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,7 @@ export const getAccount = async (args: {
126126
clientOptions: {
127127
credentials: {
128128
client_email: gcpApplicationCredentialEmail,
129-
// https://stackoverflow.com/questions/74131595/error-error1e08010cdecoder-routinesunsupported-with-google-auth-library
130-
private_key: gcpApplicationCredentialPrivateKey
131-
.split(String.raw`\n`)
132-
.join("\n"),
129+
private_key: gcpApplicationCredentialPrivateKey,
133130
},
134131
},
135132
});

0 commit comments

Comments
 (0)