Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#133802)

hermes-seaeye[bot]bda2b11638b2
diff --git a/apps/desktop/electron/managed-ssh-update.test.ts b/apps/desktop/electron/managed-ssh-update.test.ts
index 348e83e1c7f..f80b1324a7a 100644
--- a/apps/desktop/electron/managed-ssh-update.test.ts
+++ b/apps/desktop/electron/managed-ssh-update.test.ts
@@ -587,6 +587,7 @@ test.runIf(process.platform !== 'win32')(
// record_user_action turns a success into partial/exit 1: its exact manual instruction is shown,
// and the rerun advice is never offered for a parked stash.
const instruction = 'Run `git stash apply stash@{0}` in /opt/hermes to restore your local changes.'
+
const partial = await run([], {
exitCode: 1,
outcome: 'partial',
diff --git a/apps/desktop/src/store/updates.ts b/apps/desktop/src/store/updates.ts
index 4b39552ae50..bd6a705487d 100644
--- a/apps/desktop/src/store/updates.ts
+++ b/apps/desktop/src/store/updates.ts
@@ -775,7 +775,13 @@ function failBackendApply(
const owed = owedMessage(status?.receipt, actionId)
const message = owed ? `${translateNow('updates.applyStatus.failed')} ${owed}` : fallback.shown
- $backendUpdateApply.set({ ...$backendUpdateApply.get(), applying: false, stage: 'error', error: 'apply-failed', message })
+ $backendUpdateApply.set({
+ ...$backendUpdateApply.get(),
+ applying: false,
+ stage: 'error',
+ error: 'apply-failed',
+ message
+ })
return { ok: false, error: 'apply-failed', message: owed ? message : fallback.result }
}