Skip to content

Cannot have a commit that contains 'undefined'. #812

@cslecours

Description

@cslecours

This commit name should not crash.

❯ subject: fix undefined selection
readline.js:1088
            throw err;
            ^

Error: vorpal._exec was called with an undefined command.
    at Vorpal.vorpal._exec ($PROJECTNAME/node_modules/vorpal/dist/vorpal.js:787:11)
    at Vorpal.vorpal._execQueueItem ($PROJECTNAME/node_modules/vorpal/dist/vorpal.js:751:17)
    at Vorpal.vorpal._queueHandler ($PROJECTNAME/node_modules/vorpal/dist/vorpal.js:735:10)
    at Vorpal.vorpal.exec ($PROJECTNAME/node_modules/vorpal/dist/vorpal.js:682:10)

Affected packages

  • cli
  • core
  • prompt
  • config-angular

Possible Solution

It's related to Vorpal, but the project seems dead.
dthree/vorpal#197

Steps to Reproduce (for bugs)

Write undefined in a commit.

Executable Version
commitlint --version 8.2
git --version 2.23.0
node --version 10.16.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions