File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ if (!($IsLinux -or $IsOSX)) {
189
189
190
190
if (! (Test-Path $codeCmdPath )) {
191
191
Write-Host " `n Downloading latest $appName ..." - ForegroundColor Yellow
192
- Remove-Item - Force " $env: TEMP \vscode-$ ( $BuildEdition ) .exe" - ErrorAction SilentlyContinuev
192
+ Remove-Item - Force " $env: TEMP \vscode-$ ( $BuildEdition ) .exe" - ErrorAction SilentlyContinue
193
193
$bitsDl = Start-BitsTransfer $fileUri - Destination " $env: TEMP \vscode-$ ( $BuildEdition ) .exe" - Asynchronous
194
194
while (($bitsDL.JobState -eq " Transferring" ) -or ($bitsDL.JobState -eq " Connecting" )) {
195
195
Write-Progress - Activity " Downloading: $AppName " - Status " $ ( [math ]::round($bitsDl.BytesTransferred / 1 mb )) mb / $ ( [math ]::round($bitsDl.BytesTotal / 1 mb )) mb" - PercentComplete ($ ($bitsDl.BytesTransferred ) / $ ($bitsDl.BytesTotal ) * 100 )
You can’t perform that action at this time.
0 commit comments