From 55d865586dc4ea39f2588a2a3d71b04b7cd911c9 Mon Sep 17 00:00:00 2001 From: Eyejoker Date: Tue, 24 Mar 2026 15:35:46 +0900 Subject: [PATCH] style: prettier formatting --- src/token-refresh.ts | 5 +---- src/token-rotation.ts | 5 ++++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/token-refresh.ts b/src/token-refresh.ts index eb6ecfa..fc9b92d 100644 --- a/src/token-refresh.ts +++ b/src/token-refresh.ts @@ -81,10 +81,7 @@ function readCredentials(accountIndex: number): CredentialsFile | null { } } -function writeCredentials( - accountIndex: number, - creds: CredentialsFile, -): void { +function writeCredentials(accountIndex: number, creds: CredentialsFile): void { const credsPath = getCredentialsPath(accountIndex); const dir = path.dirname(credsPath); if (!fs.existsSync(dir)) { diff --git a/src/token-rotation.ts b/src/token-rotation.ts index d2836b2..a5930be 100644 --- a/src/token-rotation.ts +++ b/src/token-rotation.ts @@ -219,7 +219,10 @@ export function updateTokenValue(index: number, newAccessToken: string): void { } tokens[index].token = newAccessToken; logger.info( - { index, masked: `${newAccessToken.slice(0, 20)}...${newAccessToken.slice(-4)}` }, + { + index, + masked: `${newAccessToken.slice(0, 20)}...${newAccessToken.slice(-4)}`, + }, 'Token value updated after OAuth refresh', ); }