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

fix: keep_download condition #1721

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Birdie0
Copy link

@Birdie0 Birdie0 commented Feb 19, 2024

Summary

Swap directory and argument checks so it won't result in misleading warning.

Fixes: #1711

Other Information

Also replaced [ ! a = b ] with [ a != b ] as it's more readable. Inverted condition for better readability.

@Birdie0 Birdie0 requested a review from a team as a code owner February 19, 2024 08:59
@Birdie0 Birdie0 changed the title Fix keep_download condition fix: keep_download condition Feb 19, 2024
@hyperupcall
Copy link
Contributor

Thanks - I'll take a look at this soon. I made the original PR and want things to pass the additional test cases I added in an offline branch

improve condition readability
@Birdie0
Copy link
Author

Birdie0 commented Apr 21, 2024

@hyperupcall Any luck?

@hyperupcall
Copy link
Contributor

hyperupcall commented Apr 22, 2024

@Birdie0 Unfortunately, I can no longer boot up the computer that had those test cases. Until I am able to diagnose and fix it, I won't be able to check.

But your changes look good to me and if anything, is likely to be more correct than the existing logic anyways. I don't think my personal issues is blocking your PR. I'm not a maintainer or anything, but these days it seems more difficult to get PRs in, which is why this is isn't already merged yet, and why I have closed many of my existing PRs.

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

Successfully merging this pull request may close these issues.

bug: getting "You have configured asdf to preserve downloaded files" when I don't
2 participants