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

Cannot read "concat" property of schemaPath variable #153

Closed
pralatto opened this issue Dec 18, 2017 · 1 comment
Closed

Cannot read "concat" property of schemaPath variable #153

pralatto opened this issue Dec 18, 2017 · 1 comment

Comments

@pralatto
Copy link

When I tried to execute the newest version of eslint-changes on travis

./node_modules/.bin/eslint-changes
/home/travis/build/project/node_modules/is-my-json-valid/index.js:366
      visit(name+'['+i+']', node.items, reporter, filter, schemaPath.concat('items'))
                                                                     ^
      TypeError: Cannot read property 'concat' of undefined
    at visit (/home/travis/build/project/node_modules/is-my-json-valid/index.js:366:70)
    at /home/travis/build/project/node_modules/is-my-json-valid/index.js:416:9
    at Array.forEach (<anonymous>)
    at visit (/home/travis/build/project/node_modules/is-my-json-valid/index.js:409:18)
    at /home/travis/build/project/node_modules/is-my-json-valid/index.js:543:9
    at Array.forEach (<anonymous>)
    at visit (/home/travis/build/project/node_modules/is-my-json-valid/index.js:540:31)
    at compile (/home/travis/build/project/node_modules/is-my-json-valid/index.js:565:3)
    at visit (/home/travis/build/project/node_modules/is-my-json-valid/index.js:340:16)
    at /home/travis/build/project/node_modules/is-my-json-valid/index.js:416:9
@LinusU
Copy link
Collaborator

LinusU commented Dec 18, 2017

Hello, this was an error in version 2.17.0 and has now been fixed in 2.17.1, see #149 for more details. Sorry for any inconvenience.

@LinusU LinusU closed this as completed Dec 18, 2017
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