Skip to content

Commit 7c6a6ad

Browse files
committed
fix: stop truncating the body in presence of dashes
Fixes #3428
1 parent 2a9b543 commit 7c6a6ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

@commitlint/parse/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export default async function parse(
1212
const opts = {
1313
...defaultOpts,
1414
...(parserOpts || {}),
15+
fieldPattern: null
1516
};
1617
const parsed = parser(message, opts) as Commit;
1718
parsed.raw = message;

0 commit comments

Comments
 (0)