diff options
| author | Juga Paazmaya <[email protected]> | 2013-12-17 23:12:18 +0200 |
|---|---|---|
| committer | Juga Paazmaya <[email protected]> | 2013-12-17 23:12:18 +0200 |
| commit | 827171edaf22878b47ba86399f03cbed25e0e2ab (patch) | |
| tree | ca80b3fa4ef27bc8d8f52dd15ecbd463b0242665 /lib/fetchGitData.js | |
| parent | ba9a8b9d4dc7d262d7deeadafbf863efe8c55808 (diff) | |
| download | node-coveralls-827171edaf22878b47ba86399f03cbed25e0e2ab.tar.xz node-coveralls-827171edaf22878b47ba86399f03cbed25e0e2ab.zip | |
Fix cainus/node-coveralls#30
Diffstat (limited to 'lib/fetchGitData.js')
| -rw-r--r-- | lib/fetchGitData.js | 2 |
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) { |
