Skip to content

Commit 97ccf2b

Browse files
Rajiv Bosemarionebl
Rajiv Bose
authored andcommitted
fix typo in path to file, COMMIT_EDITMSG
1 parent d60d9f8 commit 97ccf2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

@commitlint/cli/cli.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const configuration = {
4040
description: {
4141
color: 'toggle colored output',
4242
cwd: 'directory to execute in',
43-
edit: 'read last commit message found in ./git/COMMIT_EDITMSG',
43+
edit: 'read last commit message found in ./.git/COMMIT_EDITMSG',
4444
extends: 'array of shareable configurations to extend',
4545
from: 'lower end of the commit range to lint; applies if edit=false',
4646
to: 'upper end of the commit range to lint; applies if edit=false',

docs/reference-cli.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ npm install --save-dev @commitlint/cli
1414

1515
[input] reads from stdin if --edit, --from, --to are omitted
1616
--color, -c toggle formatted output, defaults to: true
17-
--edit, -e read last commit message found in ./git/COMMIT_EDITMSG
17+
--edit, -e read last commit message found in ./.git/COMMIT_EDITMSG
1818
--extends, -x array of resolvable ids pointing to shareable configurations to extend
1919
--from, -f lower end of the commit range to lint; applies if edit=false
2020
--to, -t upper end of the commit range to lint; applies if edit=false

0 commit comments

Comments
 (0)