From 7c6a6ad69006a5f62e2881f226c11b51ac8b4e9b Mon Sep 17 00:00:00 2001 From: realmarv Date: Tue, 3 Jan 2023 11:11:49 +0330 Subject: [PATCH] fix: stop truncating the body in presence of dashes Fixes https://github.com/conventional-changelog/commitlint/issues/3428 --- @commitlint/parse/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/@commitlint/parse/src/index.ts b/@commitlint/parse/src/index.ts index 3f90e8a4f69..50371735893 100644 --- a/@commitlint/parse/src/index.ts +++ b/@commitlint/parse/src/index.ts @@ -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;