From e34c4c009a1859b3c12f37e6301814dd2eb78e2c Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Sun, 9 Aug 2026 22:43:38 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#82771) Co-authored-by: github-actions[bot] --- .../desktop/electron/remote-lifecycle.test.ts | 5 +---- apps/desktop/electron/remote-lifecycle.ts | 20 +++++++++---------- apps/desktop/src/lib/chat-messages.test.ts | 1 + ui-tui/src/components/appChrome.tsx | 6 +----- 4 files changed, 13 insertions(+), 19 deletions(-) diff --git a/apps/desktop/electron/remote-lifecycle.test.ts b/apps/desktop/electron/remote-lifecycle.test.ts index 90c1ece8a6b12..151da86830646 100644 --- a/apps/desktop/electron/remote-lifecycle.test.ts +++ b/apps/desktop/electron/remote-lifecycle.test.ts @@ -143,10 +143,7 @@ test('locateHermes returns an explicit remoteHermesPath unchanged', async () => ]) assert.equal(await locateHermes(ssh, '~/.local/bin/hermes'), '~/.local/bin/hermes') - assert.ok( - !ssh.calls.some(cmd => cmd.includes('python3 -c')), - 'an explicit remoteHermesPath must never be rewritten' - ) + assert.ok(!ssh.calls.some(cmd => cmd.includes('python3 -c')), 'an explicit remoteHermesPath must never be rewritten') }) test('locateHermes falls back to ~/.local/bin/hermes when the login-shell probe misses', async () => { diff --git a/apps/desktop/electron/remote-lifecycle.ts b/apps/desktop/electron/remote-lifecycle.ts index b8a385c2e7e30..1dcd74e3b7e9d 100644 --- a/apps/desktop/electron/remote-lifecycle.ts +++ b/apps/desktop/electron/remote-lifecycle.ts @@ -128,16 +128,16 @@ function expandRemotePath(p) { // non-login `ssh host cmd` PATH misses user installs), then known install paths. async function locateHermes(ssh, remoteHermesPath) { const resolveLauncher = async (candidate: string) => { - // Return the candidate path directly. The hermes binary or wrapper script - // is executable and handles argument forwarding (e.g. `exec