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

Co-authored-by: Claude Fable 5 <[email protected]>
This commit is contained in:
Cody Ray HoeftandClaude Fable 5 authored and GitHub committed 2026-09-22 17:46:08 -07:00
1 parent b954af60c4
commit e4422eec75
2 files changed
+2

No files matched your search

+1
View File
@@ -227,6 +227,7 @@ describe("ssh tunnel scripts", () => {
assert.include(script, "remote_node_satisfies_engine()");
assert.include(script, "function satisfiesSemverRange");
assert.include(script, "satisfiesSemverRange(rawVersion, range)");
assert.include(script, 'prepend_path_if_dir "/home/linuxbrew/.linuxbrew/bin"');
assert.include(script, 'prepend_path_if_dir "$VOLTA_HOME/bin"');
assert.include(script, 'prepend_path_if_dir "$HOME/.asdf/shims"');
assert.include(script, 'prepend_path_if_dir "$HOME/.local/share/mise/shims"');
+1
View File
@@ -360,6 +360,7 @@ ensure_remote_node_path() {
prepend_path_if_dir "$HOME/.local/bin"
prepend_path_if_dir "$HOME/bin"
prepend_path_if_dir "/opt/homebrew/bin"
prepend_path_if_dir "/home/linuxbrew/.linuxbrew/bin"
prepend_path_if_dir "/usr/local/bin"
prepend_path_if_dir "/usr/bin"
prepend_path_if_dir "/bin"