Open goyalyashpal opened 6 months ago
i understand that the condition / trigger for showing invalid url might very well be valid, or a more aware check might be hard to implement.
so, a check should be made before actually using the url to ensure if connected to internet. if not, then it should gracefully exit right there and skip using / commenting on url altogether.
but the problem with this can be that it won't work with local urls/full filenames.
Bug Report
Current Behavior
when the system is not connected to internet, the
scoop/bin/checkver.ps1
saysURL ... is not valid
Expected Behavior
it should have said disconnected, or not connected, or unable to connect or the like. but never "URL invalid" in such case
Additional context/output
Possible Solution
shared in first comment below to keep it separate
System details