From 071b84af840b32add359d471f1ca954e81dd695a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 09:27:51 +0000 Subject: [PATCH] style: apply automated formatting --- scripts/main/manualLogin.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/main/manualLogin.js b/scripts/main/manualLogin.js index f27d3f1c..75917541 100644 --- a/scripts/main/manualLogin.js +++ b/scripts/main/manualLogin.js @@ -259,7 +259,7 @@ function saveManualSession(dbPath, email, platform, storageState, fingerprint, p fs.mkdirSync(sessionDir, { recursive: true, mode: 0o700 }) try { fs.chmodSync(sessionDir, 0o700) - } catch { } + } catch {} const db = openSessionDb(dbPath) try { @@ -272,7 +272,7 @@ function saveManualSession(dbPath, email, platform, storageState, fingerprint, p try { fs.chmodSync(dbPath, 0o600) - } catch { } + } catch {} } async function runPlatform({ account, config, dbPath, platform, fresh }) { @@ -323,7 +323,7 @@ async function runPlatform({ account, config, dbPath, platform, fresh }) { if (interrupted) return interrupted = true log('WARN', `${signal} received; closing without saving an incomplete login`) - await browser.close().catch(() => { }) + await browser.close().catch(() => {}) } const onSigInt = () => void stop('SIGINT') const onSigTerm = () => void stop('SIGTERM') @@ -339,12 +339,12 @@ async function runPlatform({ account, config, dbPath, platform, fresh }) { ...(stored.storageState ? { storageState: stored.storageState } : {}), ...(isMobile ? { - isMobile: true, - hasTouch: true, - deviceScaleFactor: screen.devicePixelRatio, - viewport: { width: screen.width, height: screen.height }, - screen: { width: screen.width, height: screen.height } - } + isMobile: true, + hasTouch: true, + deviceScaleFactor: screen.devicePixelRatio, + viewport: { width: screen.width, height: screen.height }, + screen: { width: screen.width, height: screen.height } + } : {}) } }) @@ -381,7 +381,7 @@ async function runPlatform({ account, config, dbPath, platform, fresh }) { } finally { process.removeListener('SIGINT', onSigInt) process.removeListener('SIGTERM', onSigTerm) - await browser.close().catch(() => { }) + await browser.close().catch(() => {}) } }