Skip to content

--verbose not available for commitlint-travis & probable commilint typo in cli.test.js #1695

Closed
@myii

Description

@myii

In terms of the potential bug via. typo (commilint instead of commitlint):

The main issue follows below.

Expected Behavior

Prior to version 8.x.x of commitlint-travis, we used to get what is now --verbose output:

https://travis-ci.com/github/saltstack-formulas/template-formula/jobs/180027460#L481-L513

+ @commitlint/travis-cli@7.5.2
...

The command "npm install @commitlint/travis-cli -D" exited with 0.

$ commitlint-travis
Already up to date!

   input: docs(contributing): modify quoted heading to prevent TOC inclusion
   found 0 problems, 0 warnings 
    (Need help? -> https://github.com/conventional-changelog/commitlint#what-is-commitlint )

   input: docs(contributing): add basic introductory text before the TOC
   found 0 problems, 0 warnings 
    (Need help? -> https://github.com/conventional-changelog/commitlint#what-is-commitlint )

   input: docs(readme): convert note into a heading
   found 0 problems, 0 warnings 
    (Need help? -> https://github.com/conventional-changelog/commitlint#what-is-commitlint )

   input: feat(toc): use `markdown-toc` directly to update inline
   found 0 problems, 0 warnings 
    (Need help? -> https://github.com/conventional-changelog/commitlint#what-is-commitlint )

The command "commitlint-travis" exited with 0.

Current Behavior

Now we only get terse output, even if attempting to use --verbose:

https://travis-ci.org/github/myii/ssf-formula/jobs/685988278#L315-L326

+ @commitlint/travis-cli@8.3.5
...

The command "npm i -D @commitlint/config-conventional @commitlint/travis-cli" exited with 0.

$ commitlint-travis --verbose
Already up to date!
The command "commitlint-travis --verbose" exited with 0.

Affected packages

  • cli
  • core
  • prompt
  • config-angular

Possible Solution

We would really appreciate being able to pass through the --verbose option.

Steps to Reproduce (for bugs)

  1. First step
  2. Second step
commitlint.config.js ```js ```

Context

Your Environment

Executable Version
commitlint --version VERSION
git --version VERSION
node --version VERSION

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