mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01: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:
		| @@ -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
	 Martin Hořeňovský
					Martin Hořeňovský