Commit 31f101e
committed
fix(windows): correct wit-bindgen stripPrefix for Windows zip archives
The stripPrefix was not removing .zip extension for Windows archives,
causing extraction errors on Windows CI:
Error: Prefix "wit-bindgen-0.46.0-x86_64-windows.zip" not found
Should be: "wit-bindgen-0.46.0-x86_64-windows"
This fix adds .replace(".zip", "") alongside .replace(".tar.gz", "")
to handle both Unix (.tar.gz) and Windows (.zip) archive formats correctly.1 parent 7120ba3 commit 31f101e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
538 | | - | |
| 538 | + | |
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| |||
0 commit comments