style: oxfmt fence modules

This commit is contained in:
Jinwoo-H
2026-09-01 14:58:58 -04:00
parent 959c9fe913
commit 5bbf0891b0
3 changed files with 9 additions and 7 deletions
+6 -5
View File
@@ -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 {
@@ -72,4 +72,3 @@ export function readAllProcessCommands(): string {
return ''
}
}
+3 -1
View File
@@ -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 ||