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

Stack overflow when spec files are in sub folder of .grunt without sub folders #75

Closed
lukeapage opened this issue Mar 23, 2015 · 1 comment · Fixed by #77
Closed

Stack overflow when spec files are in sub folder of .grunt without sub folders #75

lukeapage opened this issue Mar 23, 2015 · 1 comment · Fixed by #77

Comments

@lukeapage
Copy link
Contributor

I found that when I put my spec files in .grunt/grunt-contrib-jasmine/sub folder I got a stack overflow exception here:
https://github.com/cloudchen/grunt-template-jasmine-requirejs/blob/master/src/template-jasmine-requirejs.js#L102

that code looks pretty suspicious - not sure what it does - I debugged and essentially this:

grunt.file.expand({
        filter: 'isDirectory',
        cwd: "C:\path\to\repo\.grunt\grunt-contrib-jasmine\sub-folder"
    }, ".")

was returning []

@lukeapage lukeapage changed the title Stack overflow Stack overflow when spec files are in sub folder of .grunt without sub folders Mar 23, 2015
@lukeapage
Copy link
Contributor Author

maybe related to #60

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

Successfully merging a pull request may close this issue.

1 participant