Regexes cannot be passed to FileList.exclude. #2

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

Comments

Projects
None yet
1 participant
Member

paulbaumgart commented Jul 16, 2010

Example of the problem:

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

paulbaumgart@6f3ac72 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