aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSchaaf, Martin <[email protected]>2014-09-11 00:48:09 +0200
committerSchaaf, Martin <[email protected]>2014-09-11 00:48:09 +0200
commit537a87c5d289b8bd701779bb6339ea965942d4b5 (patch)
tree1aab7981ace340e70f528de2b6024f7d50cb01ca /lib
parent8b4e46d994c23a6be8b458b18cfea8a94e325b70 (diff)
downloadnode-coveralls-537a87c5d289b8bd701779bb6339ea965942d4b5.tar.xz
node-coveralls-537a87c5d289b8bd701779bb6339ea965942d4b5.zip
fetch all characters by selecting all whitespace and all none whitespace
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 18af04e..3bebda3 100644
--- a/lib/fetchGitData.js
+++ b/lib/fetchGitData.js
@@ -59,7 +59,7 @@ function fetchBranch(git, cb) {
});
}
-var REGEX_COMMIT_DETAILS = /\nauthor (.+?) <(.+?)>.+\ncommitter (.+?) <(.+?)>.+\n?[\w\s]+?\n\n(.*)/m;;
+var REGEX_COMMIT_DETAILS = /\nauthor (.+?) <(.+?)>.+\ncommitter (.+?) <(.+?)>.+\n?[\S\s]+?\n\n(.*)/m;;
function fetchHeadDetails(git, cb) {
exec('git cat-file -p ' + git.head.id, function(err, response) {