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

no-unnecessary-route-path-option: fix error when path is undefined #398

Merged
merged 1 commit into from Mar 27, 2019
Merged

no-unnecessary-route-path-option: fix error when path is undefined #398

merged 1 commit into from Mar 27, 2019

Conversation

bmish
Copy link
Member

@bmish bmish commented Mar 23, 2019

This error could show up when typing a new route definition as the path would momentarily be undefined.

TypeError: Cannot read property 'substring' of undefined

…ption` rule

This error could show up when typing a new route definition as the `path` would momentarily be `undefined`.

```
TypeError: Cannot read property 'substring' of undefined
```
@bmish bmish added the Bug label Mar 23, 2019
@bmish bmish requested a review from Turbo87 March 23, 2019 18:42
@bmish bmish merged commit 90e05fa into ember-cli:master Mar 27, 2019
@bmish bmish deleted the no-unnecessary-route-path-option-fix-substring-undefined branch March 27, 2019 04:10
@bmish bmish changed the title no-unnecessary-route-path-option: fix error when path is undefined no-unnecessary-route-path-option: fix error when path is undefined 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

2 participants