Use Start-BitsTransfer for downloading OpenCppCoverage instead
The old `Start-FileDownload` was no longer recognized by the pswh version on my local machine, this updates the OpenCppCoverage install script to use a still usable cmdlet.
This commit is contained in:
1 file changed
+1
-1
@@ -4,7 +4,7 @@ $installerPath = [System.IO.Path]::Combine($Env:USERPROFILE, "Downloads", "OpenC
|
||||
|
||||
if(-Not (Test-Path $installerPath)) {
|
||||
Write-Host -ForegroundColor White ("Downloading OpenCppCoverage from: " + $downloadUrl)
|
||||
Start-FileDownload $downloadUrl -FileName $installerPath
|
||||
Start-BitsTransfer $downloadUrl -Destination $installerPath
|
||||
}
|
||||
|
||||
Write-Host -ForegroundColor White "About to install OpenCppCoverage..."
|
||||
|
||||
Reference in new issue
Block a user