Skip to content

Commit

Permalink
fix: stop truncating the body in presence of dashes
Browse files Browse the repository at this point in the history
Fixes #3428
  • Loading branch information
tehraninasab committed Jan 3, 2023
1 parent 2a9b543 commit 7c6a6ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions @commitlint/parse/src/index.ts
Expand Up @@ -12,6 +12,7 @@ export default async function parse(
const opts = {
...defaultOpts,
...(parserOpts || {}),
fieldPattern: null
};
const parsed = parser(message, opts) as Commit;
parsed.raw = message;
Expand Down

0 comments on commit 7c6a6ad

Please sign in to comment.