Skip to content

ast.params.map is not a function error #610

@meirish

Description

@meirish

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions