Incorrect installation path when using downloadAndUnzipVSCode
in versions 1.85.0 and above
#255
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
There seems to have been a regression somewhere with how
resolveCliArgsFromVSCodeExecutablePath
either downloads VS Code, or returns the correct CLI path. It is missingVisual Studio Code.app
from the installation path.Before (pre 1.85.0)
const vscodeExecutablePath = await downloadAndUnzipVSCode({ version: '1.84.0' })
Download location: .vscode-test/vscode-darwin-arm64-1.84.0/Visual Studio Code.app/Contents/Resources/app/bin/code
After (1.85.0 and after)
const vscodeExecutablePath = await downloadAndUnzipVSCode({ version: '1.85.0' })
Download location :.vscode-test/vscode-darwin-arm64-1.85.0/Contents/Resources/app/bin/code
resolveCliArgsFromVSCodeExecutablePath
still expects "Visual Studio Code.app" in the path.This causes the error:
.vscode-test/vscode-darwin-arm64-1.85.1/Visual Studio Code.app/Contents/Resources/app/bin/code: No such file or directory
The text was updated successfully, but these errors were encountered: