Update winget-upgrade.ps1

pull/3/head
Romain 2022-02-19 13:17:51 +01:00
parent 9d5532aa90
commit 8ee8c5ba5a
1 changed files with 1 additions and 2 deletions

View File

@ -94,8 +94,7 @@ function Test-Network {
try{ try{
Invoke-RestMethod -Uri "https://api.github.com/zen" Invoke-RestMethod -Uri "https://api.github.com/zen"
Write-Log "Connected !" "Green" Write-Log "Connected !" "Green"
$ping = $true return $true
return $ping
} }
catch{ catch{
Start-Sleep 10 Start-Sleep 10