Skip to content

Pattern matching is too greedy #9

@johnhaley81

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.

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