style: prettier formatting

This commit is contained in:
Eyejoker
2026-03-24 15:35:46 +09:00
parent f4b02af4dd
commit 55d865586d
2 changed files with 5 additions and 5 deletions

View File

@@ -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)) {

View File

@@ -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',
);
}