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

Maximum call stack size exceeded when template has values in it #2

Open
zapphyre opened this issue Oct 23, 2017 · 1 comment
Open

Comments

@zapphyre
Copy link

When you try to assert on template that is having non-empty key-VALUES pairs, it ends with error:


RangeError: Maximum call stack size exceeded
    at templateKeys.forEach.key (node_modules/skorice/build/lib.js:41:24)
    at Array.forEach (<anonymous>)
    at objectWalker (node_modules/skorice/build/lib.js:41:16)
    at templateKeys.forEach.key (node_modules/skorice/build/lib.js:43:23)
    at Array.forEach (<anonymous>)
    at objectWalker (node_modules/skorice/build/lib.js:41:16)
    at templateKeys.forEach.key (node_modules/skorice/build/lib.js:43:23)
    at Array.forEach (<anonymous>)

I think, this will be the same as this issue ;)

@AntJanus
Copy link
Contributor

@zapphyre I'll port over the fix from AntJanus/JSON-structure-validator#6 (comment) Thank you! :)

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

2 participants