Skip to content

Commit 74fcff6

Browse files
committed
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.
1 parent 5abfc0a commit 74fcff6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/misc/installOpenCppCoverage.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $installerPath = [System.IO.Path]::Combine($Env:USERPROFILE, "Downloads", "OpenC
44

55
if(-Not (Test-Path $installerPath)) {
66
Write-Host -ForegroundColor White ("Downloading OpenCppCoverage from: " + $downloadUrl)
7-
Start-FileDownload $downloadUrl -FileName $installerPath
7+
Start-BitsTransfer $downloadUrl -Destination $installerPath
88
}
99

1010
Write-Host -ForegroundColor White "About to install OpenCppCoverage..."

0 commit comments

Comments
 (0)