mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-04 14:35:44 +02:00
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:
parent
5abfc0aa9c
commit
74fcff6e5b
@ -4,7 +4,7 @@ $installerPath = [System.IO.Path]::Combine($Env:USERPROFILE, "Downloads", "OpenC
|
|||||||
|
|
||||||
if(-Not (Test-Path $installerPath)) {
|
if(-Not (Test-Path $installerPath)) {
|
||||||
Write-Host -ForegroundColor White ("Downloading OpenCppCoverage from: " + $downloadUrl)
|
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..."
|
Write-Host -ForegroundColor White "About to install OpenCppCoverage..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user