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", () => {
227227 assert.include(script, "remote_node_satisfies_engine()");
228228 assert.include(script, "function satisfiesSemverRange");
229229 assert.include(script, "satisfiesSemverRange(rawVersion, range)");
230 assert.include(script, 'prepend_path_if_dir "/home/linuxbrew/.linuxbrew/bin"');
230231 assert.include(script, 'prepend_path_if_dir "$VOLTA_HOME/bin"');
231232 assert.include(script, 'prepend_path_if_dir "$HOME/.asdf/shims"');
232233 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() {
360360 prepend_path_if_dir "$HOME/.local/bin"
361361 prepend_path_if_dir "$HOME/bin"
362362 prepend_path_if_dir "/opt/homebrew/bin"
363 prepend_path_if_dir "/home/linuxbrew/.linuxbrew/bin"
363364 prepend_path_if_dir "/usr/local/bin"
364365 prepend_path_if_dir "/usr/bin"
365366 prepend_path_if_dir "/bin"