Repository navigation
Commit 9eb06ff
committed
fix(server): browser setup command names the running t3 executable, not another t3 on PATH
resolveHostCliCommand trusted any `t3` on PATH unless T3CODE_CLI_PATH pointed
elsewhere, so a standalone executable started directly suggested another
install's CLI. Compare PATH's `t3` against this install's launcher (the
desktop shim or the running executable) and use the bare `t3` only when they
are the same file.
Fixes #22626
AI-assisted; verified with the tests and tools listed above.1 parent 4e40101 commit 9eb06ff
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
158 | 160 | | |
159 | 161 | | |
160 | | - | |
161 | 162 | | |
162 | 163 | | |
163 | | - | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
170 | 168 | | |
171 | 169 | | |
172 | 170 | | |
| |||
0 commit comments