Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkver.ps1 doesn't work with Windows Powershell #5

Open
notPlancha opened this issue Feb 12, 2025 · 0 comments
Open

checkver.ps1 doesn't work with Windows Powershell #5

notPlancha opened this issue Feb 12, 2025 · 0 comments

Comments

@notPlancha
Copy link
Owner

Windows Powershell (powershell) (in contrary to Powershell Core (pwsh)) doesn't run checkver.ps1 from github.com/notPlancha/scoop

PS C:\Users\ap9169\bucket> .\bin\checkver.ps1   
Invoke-WebRequest : The maximum redirection count has been exceeded. To increase the number of redirections allowed, supply a higher value to th
e -MaximumRedirection parameter.
At line:1 char:51
+ ... $Url) try { Invoke-WebRequest -Uri $Url -MaximumRedirection 0 -ErrorA ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], InvalidOperationException        
    + FullyQualifiedErrorId : MaximumRedirectExceeded,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Don't know why. This might affect ScoopInstaller/Scoop#6274 aswell, but I'm not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant