Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b444e32

Browse files
author
Ben Reader
committedAug 15, 2018
fixed a drive by Cat related typo
1 parent e393994 commit b444e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎scripts/Install-VSCode.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ if (!($IsLinux -or $IsOSX)) {
189189

190190
if (!(Test-Path $codeCmdPath)) {
191191
Write-Host "`nDownloading 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
193193
$bitsDl = Start-BitsTransfer $fileUri -Destination "$env:TEMP\vscode-$($BuildEdition).exe" -Asynchronous
194194
while (($bitsDL.JobState -eq "Transferring") -or ($bitsDL.JobState -eq "Connecting")) {
195195
Write-Progress -Activity "Downloading: $AppName" -Status "$([math]::round($bitsDl.BytesTransferred / 1mb))mb / $([math]::round($bitsDl.BytesTotal / 1mb))mb" -PercentComplete ($($bitsDl.BytesTransferred) / $($bitsDl.BytesTotal) * 100 )

0 commit comments

Comments
 (0)
Please sign in to comment.