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

fix another crash in jsx-key #380

Merged
merged 1 commit into from
Jan 2, 2016
Merged

Conversation

nfcampos
Copy link
Contributor

@nfcampos nfcampos commented Jan 1, 2016

similar to PR #374

fix this crash:

TypeError: Cannot read property 'type' of null
    at checkIteratorElement (/Users/nuno/cp/james/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:25:13)
    at EventEmitter.CallExpression (/Users/nuno/cp/james/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:65:13)

fix this crash:
´´´
TypeError: Cannot read property 'type' of null
    at checkIteratorElement (/Users/nuno/cp/james/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:25:13)
    at EventEmitter.CallExpression (/Users/nuno/cp/james/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:65:13)
´´´
yannickcr added a commit that referenced this pull request Jan 2, 2016
@yannickcr yannickcr merged commit f376b69 into jsx-eslint:master Jan 2, 2016
@yannickcr
Copy link
Member

Thanks! I will add a test to confirm the fix.

yannickcr added a commit that referenced this pull request Jan 2, 2016
yannickcr added a commit that referenced this pull request Jan 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants