Skip to content

Commit

Permalink
fix(analyzer): Correctly detect commit type
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotttf committed Feb 17, 2017
1 parent 423fbf7 commit 60e34a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 60e34a9

Please sign in to comment.