Skip to content

Pattern matching is too greedy #9

Description

@johnhaley81
var parser = require('gitignore-parser').compile('package');

parser.accepts('package.json'); // false

I would think that package.json should still be accepted since git CLI would not ignore that file with that .gitignore.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions