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

Use of recursion causes stack overflow #15

Open
dougmoscrop opened this issue Mar 10, 2017 · 0 comments
Open

Use of recursion causes stack overflow #15

dougmoscrop opened this issue Mar 10, 2017 · 0 comments

Comments

@dougmoscrop
Copy link

I'm working with a framework that uses node-glob-all to include files in a deployed package, and I have a plugin that includes files one by one. These files get passed to node-glob-all as a mixed bag of patterns and exact filenames and when there's a large number of files a stack overflow (maximum call stack size exceeded) error happens.

I've pushed an example test that fails:

https://github.com/dougmoscrop/node-glob-all/tree/stack_overflow

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