Skip to content

TypeError: Cannot read property 'name' of undefined #300

@pmaderamitlasf1

Description

@pmaderamitlasf1

speccy lint yaml_obj.yml --rules=test.rule
(node:50261) ExperimentalWarning: The http2 module is an experimental API.
Specification contains lint errors: 2
/usr/local/lib/node_modules/speccy/lint.js:58
${colors.yellow + pointer} ${colors.cyan} R: ${rule.name} ${colors.white} D: ${rule.description}
^

TypeError: Cannot read property 'name' of undefined
at lintResults.forEach.result (/usr/local/lib/node_modules/speccy/lint.js:58:53)
at Array.forEach ()
at formatLintResults (/usr/local/lib/node_modules/speccy/lint.js:54:17)
at validator.validate (/usr/local/lib/node_modules/speccy/lint.js:98:30)
at /usr/local/lib/node_modules/speccy/node_modules/call-me-maybe/index.js:13:28
at _combinedTickCallback (internal/process/next_tick.js:132:7)
at process._tickCallback (internal/process/next_tick.js:181:9)

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