Skip to content

Hidden files are always included by glob #1937

@katrinafyi

Description

@katrinafyi

I was thinking about this after #1935, but idk if it's a bug or just imprecise documentation.

These commands

mkdir -p /tmp/hidden/asd/
echo 'https://a.com/' > /tmp/hidden/asd/.a.md
cargo run -q -- --dump  '/tmp/hidden/**/*' 

will print

https://a.com/

The view could be taken that the glob specifies that the file should be included. Alternatively, a view could be taken that shell globs would exclude hidden files by default and we should do the same.

Maybe this is not a big issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions