diff options
Diffstat (limited to 'packages/core/src')
| -rw-r--r-- | packages/core/src/code_assist/oauth2.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/core/src/code_assist/oauth2.ts b/packages/core/src/code_assist/oauth2.ts index f1046416..dc1ec490 100644 --- a/packages/core/src/code_assist/oauth2.ts +++ b/packages/core/src/code_assist/oauth2.ts @@ -366,7 +366,7 @@ async function cacheCredentials(credentials: Credentials) { await fs.mkdir(path.dirname(filePath), { recursive: true }); const credString = JSON.stringify(credentials, null, 2); - await fs.writeFile(filePath, credString); + await fs.writeFile(filePath, credString, { mode: 0o600 }); } function getCachedCredentialPath(): string { |
