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
  • Loading branch information
tehraninasab committed Jan 3, 2023
1 parent 2065466 commit 52e68ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions @commitlint/parse/src/index.ts
Original file line number Diff line number Diff line change
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 52e68ab

Please sign in to comment.