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

Regexes cannot be passed to FileList.exclude. #2

Open
paulbaumgart opened this issue Jul 16, 2010 · 0 comments
Open

Regexes cannot be passed to FileList.exclude. #2

paulbaumgart opened this issue Jul 16, 2010 · 0 comments

Comments

@paulbaumgart
Copy link
Member

Example of the problem:

> (new JAKE.FileList("*")).exclude(/(^|[\/\\])\.git([\/\\]|$)/)
TypeError: Result of expression 'aFunction.apply' [undefined] is not a function.

paulbaumgart/jake@6f3ac72655 fixes this bug, so instead you get:

> (new JAKE.FileList("*")).exclude(/(^|[\/\\])\.git([\/\\]|$)/)
bin lib LICENSE package.json README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant