-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
fetch-configlet.ps1: "Cannot validate argument" error #839
Comments
See #841 |
ee7
pushed a commit
that referenced
this issue
Dec 15, 2023
Under some conditions, running the fetch-configlet PowerShell script could now produce an error like the below: $ pwsh ./fetch-configlet.ps1 Invoke-WebRequest: /mnt/c/Users/bugma/Source/Repos/3rdParty/euphoria/bin/fetch-configlet.ps1:29 Line | 29 | Invoke-WebRequest -Uri $downloadUrl -OutFile $outputFile @requestOpts | ~~~~~~~~~~~~ | Cannot validate argument on parameter 'Uri'. The argument is null or | empty. Provide an argument that is not null or empty, and then try | the command again. Fix that, and make the script more similar to the bash one. Changes: - Fix command chaining - Move $arch closer to place of use - Use name field to exactly match filename - Test if script is run from repo root - Add message for downloading - Replace broken expand-archive with ZipFile - Use explicit output filename - Output download info Closes: #839
@ErikSchierboom do you want to sync the fetch-configlet scripts Exercism-wide? |
Yes, I'll do that. |
This was referenced Jan 3, 2024
This was referenced Jan 3, 2024
This was referenced Jan 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From a forum thread:
This looks different from the error in #786.
The text was updated successfully, but these errors were encountered: