aboutsummaryrefslogtreecommitdiff
path: root/lib/fetchGitData.js
diff options
context:
space:
mode:
authorJuga Paazmaya <[email protected]>2013-12-17 23:12:18 +0200
committerJuga Paazmaya <[email protected]>2013-12-17 23:12:18 +0200
commit827171edaf22878b47ba86399f03cbed25e0e2ab (patch)
treeca80b3fa4ef27bc8d8f52dd15ecbd463b0242665 /lib/fetchGitData.js
parentba9a8b9d4dc7d262d7deeadafbf863efe8c55808 (diff)
downloadnode-coveralls-827171edaf22878b47ba86399f03cbed25e0e2ab.tar.xz
node-coveralls-827171edaf22878b47ba86399f03cbed25e0e2ab.zip
Fix cainus/node-coveralls#30
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 1633bd5..a8b2bce 100644
--- a/lib/fetchGitData.js
+++ b/lib/fetchGitData.js
@@ -59,7 +59,7 @@ function fetchBranch(git, cb) {
});
}
-var REGEX_COMMIT_DETAILS = /\nauthor (.+?) <(.+?)>.+\ncommitter (.+?) <(.+?)>.+\n\n(.*)/m;
+var REGEX_COMMIT_DETAILS = /\nauthor (.+?) <(.+?)>.+\ncommitter (.+?) <(.+?)>.+\n?.+?\n\n(.*)/m;
function fetchHeadDetails(git, cb) {
exec('git cat-file -p ' + git.head.id, function(err, response) {