Skip to content

foo/** should not match foo/ #179

@mdjermanovic

Description

@mdjermanovic

I would expect that foo/** matches everything inside the directory foo, but not the directory itself.

const minimatch = require("minimatch");

minimatch("foo/", "foo/**"); // true, but it should be false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions