Skip to content

Commit 52e68ab

Browse files
committed
fix: stop truncating the body in presence of dashes
Fixes conventional-changelog#3428
1 parent 2065466 commit 52e68ab

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)