diff options
| author | Martin Hořeňovský | 2025-04-29 16:26:08 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2025-05-02 22:58:36 +0200 |
| commit | 74fcff6e5b190fb833a231b7f7c1829e3c3ac54d (patch) | |
| tree | 2f0c38b176e8816f41bde7c3f927e11acfc70257 | |
| parent | 5abfc0aa9c1ef4cb40c9f387495134dab02e1af2 (diff) | |
| download | catch3-74fcff6e5b190fb833a231b7f7c1829e3c3ac54d.tar.gz | |
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.
| -rw-r--r-- | tools/misc/installOpenCppCoverage.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/misc/installOpenCppCoverage.ps1 b/tools/misc/installOpenCppCoverage.ps1 index 215fe20e..795b7c8e 100644 --- a/tools/misc/installOpenCppCoverage.ps1 +++ b/tools/misc/installOpenCppCoverage.ps1 @@ -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..." |