Repository navigation
Commit 84a3f02
committed
fix: split shell exec pattern for terminal file picker on Windows
PowerShell's Exec uses `|` to separate alternative executable names, but
the file picker treated the whole string as a single glob, so pwsh.exe /
powershell.exe could not be selected. Split on `|` into separate patterns.
refactor: extract shell exec pattern split into a local variable
refactor: wrap shell exec pattern split across lines
Replaces the previously extracted local variable with a multi-line
expression for better readability.1 parent 415564b commit 84a3f02
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
345 | 349 | | |
346 | 350 | | |
347 | 351 | | |
| |||
0 commit comments