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

Ignore template literals in no-get and no-get-properties rules #413

Merged
merged 1 commit into from Apr 21, 2019
Merged

Ignore template literals in no-get and no-get-properties rules #413

merged 1 commit into from Apr 21, 2019

Conversation

bmish
Copy link
Member

@bmish bmish commented Apr 21, 2019

Ignore template literals since we can't be sure if they contain nested property paths (which should always be ignored by these rules).

And without this fix, template literals will cause the rule to throw an error: TypeError: Cannot read property 'includes' of undefined

Ignore template literals since we can't be sure if they contain nested property paths (which should always be ignored by these rules).

And without this fix, template literals will cause the rule to throw an error: `TypeError: Cannot read property 'includes' of undefined`
@bmish bmish added the Bug label Apr 21, 2019
@bmish bmish changed the title Ignore template literals in 'no-get' and 'no-get-properties' rules Ignore template literals in no-get and no-get-properties rules Apr 21, 2019
@bmish bmish merged commit c22fc54 into ember-cli:master Apr 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant