aboutsummaryrefslogtreecommitdiff
path: root/lib/fetchGitData.js
diff options
context:
space:
mode:
authorNick Merwin <[email protected]>2015-12-10 12:52:55 -0800
committerNick Merwin <[email protected]>2015-12-10 12:52:55 -0800
commitd084add18e87fd1a292315de7c9eb171e8fd4b93 (patch)
treec90578e6a9540b8af75a930dc25d3c07be4efee6 /lib/fetchGitData.js
parent712e6e4bb4d8e1a60f646d954743a6808aa7f13e (diff)
parentd60635885d243abef2cbc5b2a0da7a27d752a14b (diff)
downloadnode-coveralls-pr/96.tar.xz
node-coveralls-pr/96.zip
merge conflictspr/96
Diffstat (limited to 'lib/fetchGitData.js')
-rw-r--r--lib/fetchGitData.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fetchGitData.js b/lib/fetchGitData.js
index 67b6190..0c516d3 100644
--- a/lib/fetchGitData.js
+++ b/lib/fetchGitData.js
@@ -59,7 +59,7 @@ function fetchBranch(git, cb) {
});
}
-var REGEX_COMMIT_DETAILS = /\nauthor (.+?) <(.+?)>.+\ncommitter (.+?) <(.+?)>.+\n?[\S\s]+?\n\n(.*)/m;
+var REGEX_COMMIT_DETAILS = /\nauthor (.+?) <(.+?)>.+\ncommitter (.+?) <(.+?)>.+[\S\s]*?\n\n(.*)/m;
function fetchHeadDetails(git, cb) {
exec('git cat-file -p ' + git.head.id, function(err, response) {