We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f397ce commit 10793acCopy full SHA for 10793ac
internal/installer/install/executable.go
@@ -81,6 +81,8 @@ func InstallVSCode(pkgFilePath, installDir string) (err error) {
81
case gutils.Darwin:
82
err = utils.Extract(pkgFilePath, cnf.GetTempDir())
83
if err != nil {
84
+ gprint.PrintError("extract vscode failed: %v", err)
85
+ os.RemoveAll(pkgFilePath)
86
return
87
}
88
appName := "Visual Studio Code.app"
0 commit comments