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

break out fs_isdir and use it to test fs argument #2680

Merged
merged 3 commits into from
Sep 14, 2024

Conversation

anescient
Copy link
Contributor

@anescient anescient commented Sep 9, 2024

This resolves #2572 using the existing isdir function. If the fs argument specifies a file rather than a folder it's treated as an error.

At least it will when it doesn't break the rpi build.

@anescient anescient marked this pull request as draft September 9, 2024 17:02
@anescient anescient marked this pull request as ready for review September 10, 2024 14:27
@anescient
Copy link
Contributor Author

It's clear what was wrong with the rpi build, and I've addressed that. I don't know what's wrong with macos-arm64, now, but I don't think it's this code.

@Miguel-hrvs
Copy link
Contributor

The macos build likes to fail randomly due to some github actions weirdness.

@nesbox nesbox merged commit 0e34eaa into nesbox:main Sep 14, 2024
11 of 12 checks passed
@anescient anescient deleted the fsisdir branch September 14, 2024 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

--fs accepts files, not just folders; errors follow
3 participants