Repository navigation
Commit 44c6e01
committed
fix(ripgrep): inline paths in PowerShell Expand-Archive command
PowerShell's -Command parameter does not reliably populate $args from
trailing positional arguments (especially Windows PowerShell 5.x).
This caused Expand-Archive to fail with "argument is null or empty"
when extracting the ripgrep archive on Windows.
Inline the archive and destination paths directly into the command
string with proper single-quote escaping instead of relying on $args.
Fixes anomalyco#234571 parent 6e01786 commit 44c6e01
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
| 256 | + | |
255 | 257 | | |
256 | 258 | | |
257 | 259 | | |
258 | | - | |
259 | | - | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
0 commit comments