Open RobineClaire opened 1 month ago
I'm also encountering this issue, is there any workaround?
Same problem
I think it's a duplicate of #1212 can you run it outside of git bash to see if that fixes it?
Yes, it seems to be the same bug. The problem appears not only under git bash, but also in a msys terminal. I can't test in a powershell or cmd environment, as my process is automated on a deported environment.
Yes, it seems to be the same bug. The problem appears not only under git bash, but also in a msys terminal. I can't test in a powershell or cmd environment, as my process is automated on a deported environment.
The way I workaround this is to install another unpacking software (7z, for instance) and replace the use of "tar -xvf" to the software I installed:
call npm install
sed -i -e 's/tar -xvf ${input.toString()}/"C:\/Program Files\/7-Zip\/7z" x -bd ${input.toString()} /g' ./node_modules/vscode-extension-tester/out/util/unpack.js
:: conitnue the pipeline
Thanks for the workaround, it works for me, waiting for the official fix !
Describe the bug
When installing the test environment, VSCode is downloaded has a zip file as I'm under windows, but the unpack function tries to unpack with tar -zxf. I thonk that the faulty code is in vscode-extension-tester/tree/main/packages/extester/src/util/unpack.ts
Steps to reproduce
Logs
Operating System
Windows 10
Visual Studio Code
1.85.0
vscode-extension-tester
7.2.0
NodeJS
16.15.0
npm
8.5.5