-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Bug] scoop download
succeeds even when no free space
#4810
Comments
This is the place to go: Scoop/libexec/scoop-download.ps1 Line 127 in 635ae17
Ideally, we should check for the exit status of download functions used above ( |
Thanks, got a fix for the standard download ( |
Just realised why! Scoop won't warn you that aria2 isn't installed, it just uses the normal download instead 😆 |
Bug Report
Scoop reports that download was successful when it fails due to lack of free space.
Current Behavior
When nearly out of free space on disk and running
scoop download
to get a file, once all free space is used, Scoop stops downloading and says both that it failed to download and that it succeeded.Expected Behavior
If the download fails midway it should fail. No green text should appear.
Additional context/output
Possible Solution
I'd love to try making a PR but have no idea where to start or how to test!
System details
Windows version: 11
OS architecture: 64bit
PowerShell version: 7.2.1
Additional software: none relevant
Scoop Configuration
The text was updated successfully, but these errors were encountered: