Skip to content

fix(action-plugin): exclude directories from glob listings - #16262

Open
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-oppyqztsomtv
Open

rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-oppyqztsomtv

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

read_directory_with_glob declared a file-selector dependency but returned
subdirectories as well, exposing entries that Dune did not track.

Filter real directories from the returned listing so it matches the declared
dependency. Symlink entries remain in the listing.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>

This branch has not been deployed

No deployments
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.

1 participant