We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Moved from ember-template-lint/ember-template-lint#2027 - I was seeing an error when attempting to fix the no-model-argument-in-route-templates.
no-model-argument-in-route-templates
Should this statement be guarded in a ast.params.length check? https://github.com/ember-template-lint/ember-template-recast/blob/v5.0.3/src/parse-result.ts#L346
ast.params.length
The text was updated successfully, but these errors were encountered:
The ast used on line 346 can be of one of the following types:
ast
ember-template-recast/src/parse-result.ts
Lines 274 to 278 in ec7c070
Each of these types of node have a params property. It means that ast.params is never supposed to be something else than an array.
params
ast.params
Have you been able to isolate the template causing the ast.params.map is not a function error error? If yes do you mind sharing it?
ast.params.map is not a function error
Sorry, something went wrong.
No branches or pull requests
Moved from ember-template-lint/ember-template-lint#2027 - I was seeing an error when attempting to fix the
no-model-argument-in-route-templates
.Should this statement be guarded in a
ast.params.length
check?https://github.com/ember-template-lint/ember-template-recast/blob/v5.0.3/src/parse-result.ts#L346
The text was updated successfully, but these errors were encountered: