aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSchaaf, Martin <[email protected]>2014-09-11 00:28:03 +0200
committerSchaaf, Martin <[email protected]>2014-09-11 00:28:03 +0200
commit8b4e46d994c23a6be8b458b18cfea8a94e325b70 (patch)
tree511af89a36272d551afbc82179661c744a3f4a2b /lib
parenta760981ee62e13cf4cf36975e474df1426980577 (diff)
downloadnode-coveralls-8b4e46d994c23a6be8b458b18cfea8a94e325b70.tar.xz
node-coveralls-8b4e46d994c23a6be8b458b18cfea8a94e325b70.zip
fix parsing of multiline header responses
takes not known headers into account
Diffstat (limited to 'lib')
-rw-r--r--lib/fetchGitData.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fetchGitData.js b/lib/fetchGitData.js
index a8b2bce..18af04e 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\n(.*)/m;
+var REGEX_COMMIT_DETAILS = /\nauthor (.+?) <(.+?)>.+\ncommitter (.+?) <(.+?)>.+\n?[\w\s]+?\n\n(.*)/m;;
function fetchHeadDetails(git, cb) {
exec('git cat-file -p ' + git.head.id, function(err, response) {