From 60e34a9029d22f9ce33107ebe3180b0c5b15e459 Mon Sep 17 00:00:00 2001 From: Elliott Foster Date: Fri, 17 Feb 2017 16:09:09 -0600 Subject: [PATCH] fix(analyzer): Correctly detect commit type --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.