Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignoring patterns cannot use literal period #164

Open
rgthree opened this issue May 5, 2017 · 2 comments
Open

Ignoring patterns cannot use literal period #164

rgthree opened this issue May 5, 2017 · 2 comments
Labels

Comments

@rgthree
Copy link
Contributor

rgthree commented May 5, 2017

Ignoring path strings like \\.git are actually transformed to /.git when passed to the path npm module since the module is unaware it's meant to be a regular expression.

This means that the ignore "\\.git" will match "/.git" as well as "/4git" or "/agitate".

@ghost ghost added the bug label May 7, 2017
@mguptawork
Copy link

As a work around you can use a [.] for a literal period

@robsonsobral
Copy link

Well, this explains a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants