authorgravatar for cody.ray.hoeft@seeq.comCody Ray Hoeft <cody.ray.hoeft@seeq.com> 2026-09-22 17:46:08-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-22 17:46:08-07:00
loge4422eec752e8cce46af2865d8fbd3d5b7468a2a
treed8aab0b7c4dd89b01ccf383aa9d391ae95d1fe46
parentb954af60c402ff0698f9f2d9a214695e817f07fe
signature Signed by PGP key B5690EEEBB952194

fix(desktop): find linuxbrew node for the WSL backend (#7827)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

2 files changed, 2 insertions(+), 0 deletions(-)

packages/ssh/src/tunnel.test.ts+1
...@@ -227,6 +227,7 @@ describe("ssh tunnel scripts", () => {...@@ -227,6 +227,7 @@ describe("ssh tunnel scripts", () => {
227 assert.include(script, "remote_node_satisfies_engine()");227 assert.include(script, "remote_node_satisfies_engine()");
228 assert.include(script, "function satisfiesSemverRange");228 assert.include(script, "function satisfiesSemverRange");
229 assert.include(script, "satisfiesSemverRange(rawVersion, range)");229 assert.include(script, "satisfiesSemverRange(rawVersion, range)");
230 assert.include(script, 'prepend_path_if_dir "/home/linuxbrew/.linuxbrew/bin"');
230 assert.include(script, 'prepend_path_if_dir "$VOLTA_HOME/bin"');231 assert.include(script, 'prepend_path_if_dir "$VOLTA_HOME/bin"');
231 assert.include(script, 'prepend_path_if_dir "$HOME/.asdf/shims"');232 assert.include(script, 'prepend_path_if_dir "$HOME/.asdf/shims"');
232 assert.include(script, 'prepend_path_if_dir "$HOME/.local/share/mise/shims"');233 assert.include(script, 'prepend_path_if_dir "$HOME/.local/share/mise/shims"');
packages/ssh/src/tunnel.ts+1
...@@ -360,6 +360,7 @@ ensure_remote_node_path() {...@@ -360,6 +360,7 @@ ensure_remote_node_path() {
360 prepend_path_if_dir "$HOME/.local/bin"360 prepend_path_if_dir "$HOME/.local/bin"
361 prepend_path_if_dir "$HOME/bin"361 prepend_path_if_dir "$HOME/bin"
362 prepend_path_if_dir "/opt/homebrew/bin"362 prepend_path_if_dir "/opt/homebrew/bin"
363 prepend_path_if_dir "/home/linuxbrew/.linuxbrew/bin"
363 prepend_path_if_dir "/usr/local/bin"364 prepend_path_if_dir "/usr/local/bin"
364 prepend_path_if_dir "/usr/bin"365 prepend_path_if_dir "/usr/bin"
365 prepend_path_if_dir "/bin"366 prepend_path_if_dir "/bin"