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 EISDIR error due to globbed directories (#1) #132

Merged
merged 2 commits into from
May 2, 2023

Conversation

friegger
Copy link
Contributor

This fixes #130 by filtering out any directories that might have been collected by the glob pattern. The PR is intended to start a discussion whether this might be an appropriate solution. The added workflow reproduces the bug. Currently the directory check is done synchronously, if that is a problem I can also provide async filtering.

Copy link
Owner

@Swatinem Swatinem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

can you revert the changes to dist? Its impossible to review those, and I rather rebuild myself.

This also means that the added workflow would fail, we can maybe do that as a followup.

@friegger
Copy link
Contributor Author

friegger commented May 2, 2023

Ok, removed the dist changes.

@Swatinem Swatinem merged commit 99229f9 into Swatinem:master May 2, 2023
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.

Warning: Error: EISDIR: illegal operation on a directory, read
2 participants