Update winget-upgrade.ps1
parent
9d5532aa90
commit
8ee8c5ba5a
|
@ -94,8 +94,7 @@ function Test-Network {
|
|||
try{
|
||||
Invoke-RestMethod -Uri "https://api.github.com/zen"
|
||||
Write-Log "Connected !" "Green"
|
||||
$ping = $true
|
||||
return $ping
|
||||
return $true
|
||||
}
|
||||
catch{
|
||||
Start-Sleep 10
|
||||
|
|
Loading…
Reference in New Issue