Skip to content

Conversation

@jrolfs
Copy link
Collaborator

@jrolfs jrolfs commented Apr 10, 2021

Arguments weren't actually being forwarded to @commitlint/cli... missed this due to snapshot based tests ☹.

  • Fixes use case of actually passing --edit $1 for example
  • Also fixes passing a custom config via --config

✨ Also support Husky 6 by defaulting to --edit when no arguments are passed.

@jrolfs jrolfs self-assigned this Apr 10, 2021
@jrolfs jrolfs requested a review from fiddlerwoaroof April 10, 2021 00:47
@github-actions github-actions bot force-pushed the fix/commit-msg-arguments branch from 676a7b4 to 22e2c91 Compare April 10, 2021 00:48
@codecov
Copy link

codecov bot commented Apr 10, 2021

Codecov Report

Merging #395 (482fce1) into main (3f8f763) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@ Coverage Diff @@ ## main #395 +/- ## ======================================= Coverage 93.82% 93.82% ======================================= Files 26 26 Lines 324 324 Branches 66 66 ======================================= Hits 304 304 Misses 19 19 Partials 1 1 
Impacted Files Coverage Ξ”
src/scripts/commit-msg.js 100.00% <ΓΈ> (ΓΈ)

Continue to review full report at Codecov.

Legend - Click here to learn more
Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data
Powered by Codecov. Last update 3f8f763...482fce1. Read the comment docs.

@github-actions github-actions bot force-pushed the fix/commit-msg-arguments branch from 22e2c91 to 482fce1 Compare April 12, 2021 18:56
@jrolfs jrolfs force-pushed the fix/commit-msg-arguments branch from 55cb408 to ed969b8 Compare April 29, 2021 00:32
@github-actions github-actions bot force-pushed the fix/commit-msg-arguments branch from ed969b8 to a2b1db8 Compare April 29, 2021 00:32
@jrolfs jrolfs closed this Apr 29, 2021
@jrolfs jrolfs reopened this Apr 29, 2021
jrolfs added 2 commits April 29, 2021 01:08
- Fixes use case of actually passing `--edit $1` for example - Also fixes passing a custom config via `--config`
Defaults to passing `--edit` with no value to **commitlint** when no arguments are passed.
@github-actions github-actions bot force-pushed the fix/commit-msg-arguments branch from a2b1db8 to b7d6e07 Compare April 29, 2021 01:08
@jrolfs jrolfs closed this Apr 29, 2021
@jrolfs jrolfs reopened this Apr 29, 2021
@jrolfs jrolfs merged commit a08cbc1 into main May 2, 2021
@jrolfs jrolfs deleted the fix/commit-msg-arguments branch May 2, 2021 00:58
@github-actions
Copy link

github-actions bot commented May 2, 2021

πŸŽ‰ This PR is included in version 5.41.0 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants