diff --git a/index.js b/index.js index 7f5587c..34740f6 100644 --- a/index.js +++ b/index.js @@ -16,7 +16,7 @@ module.exports = (config, { commits }, cb) => { mergePattern, mergeCorrespondence, }; - commits.map(commit => parser(`${commit.hash}\n${commit.message}`, parserOptions)) + commits.map(commit => parser(commit.message, parserOptions)) .filter(commit => commit) .every((commit) => { // TODO - handle squash merge commits with lots of sub-commits.