From 5bbf0891b01bd956730dbf8aa8bb891346901ce9 Mon Sep 17 00:00:00 2001 From: Jinwoo-H Date: Tue, 1 Sep 2026 14:58:58 -0400 Subject: [PATCH] style: oxfmt fence modules --- src/main/mac-update-install-attempt.ts | 11 ++++++----- src/main/mac-update-install-process-probes.ts | 1 - src/main/updater/updater-install-support.ts | 4 +++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/main/mac-update-install-attempt.ts b/src/main/mac-update-install-attempt.ts index 4ad412f4ff3..4a7f77aebce 100644 --- a/src/main/mac-update-install-attempt.ts +++ b/src/main/mac-update-install-attempt.ts @@ -235,11 +235,12 @@ function resolveMacUpdateInstallStartupUnsafe(options: { if (!attempt) { return { action: 'allow', reason: 'no-attempt' } } - const monitorAlive = getMacUpdateProcessIdentityState( - attempt.monitorPid, - attempt.monitorStartedAtMs, - options.readProcessStartedAtMs - ) !== 'dead' + const monitorAlive = + getMacUpdateProcessIdentityState( + attempt.monitorPid, + attempt.monitorStartedAtMs, + options.readProcessStartedAtMs + ) !== 'dead' let shipItAlive = false if (!monitorAlive) { try { diff --git a/src/main/mac-update-install-process-probes.ts b/src/main/mac-update-install-process-probes.ts index 19269284d25..1efbda7cdf9 100644 --- a/src/main/mac-update-install-process-probes.ts +++ b/src/main/mac-update-install-process-probes.ts @@ -72,4 +72,3 @@ export function readAllProcessCommands(): string { return '' } } - diff --git a/src/main/updater/updater-install-support.ts b/src/main/updater/updater-install-support.ts index a3230511159..5e867c5b027 100644 --- a/src/main/updater/updater-install-support.ts +++ b/src/main/updater/updater-install-support.ts @@ -77,7 +77,9 @@ export abstract class UpdaterInstallSupport extends UpdaterCheckState { * behavior). Supervised headless serve is excluded — its supervisor owns restart/recovery, and * the monitor's recovery launch would open the GUI on a headless host. */ - protected armMacUpdateInstallAttemptSafely(pendingVersion: string): MacUpdateInstallAttempt | null { + protected armMacUpdateInstallAttemptSafely( + pendingVersion: string + ): MacUpdateInstallAttempt | null { if ( process.platform !== 'darwin' || !app.isPackaged ||