Skip to content

Commit

Permalink
Merge pull request #9 from AndrewDemski-ad-gmail-com/AndrewDemski-ad-…
Browse files Browse the repository at this point in the history
…gmail-com-patch-5

Update Test-Network.ps1
  • Loading branch information
AndrewDemski-ad-gmail-com committed Sep 4, 2024
2 parents f7e6edc + 536a74d commit bf4997d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Winget-AutoUpdate/functions/Test-Network.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function Test-Network {

While ($timeout -lt 1800) {
try {
$ncsiResponse = Invoke-WebRequest -Uri "http://$($ncsiHost)/$($ncsiPath)" -UseBasicParsing -UserAgent ([Microsoft.PowerShell.Commands.PSUserAgent]::Chrome)
$ncsiResponse = Invoke-WebRequest -Uri "http://$($ncsiHost)/$($ncsiPath)" -UseBasicParsing -UserAgent ([Microsoft.PowerShell.Commands.PSUserAgent]::Chrome); # DevSkim: ignore DS137138 Insecure URL
}
catch {
$ncsiResponse = $false
Expand Down

0 comments on commit bf4997d

Please sign in to comment.