diff options
| author | Nick Merwin <[email protected]> | 2015-12-10 12:48:25 -0800 |
|---|---|---|
| committer | Nick Merwin <[email protected]> | 2015-12-10 12:48:25 -0800 |
| commit | 13e05b9a9d5d6414adf0dfa1524d7ee015bd09c8 (patch) | |
| tree | 900b9cc3dd0b7f9cc3e23cf9c3e7c022ade4b13e /lib | |
| parent | d60635885d243abef2cbc5b2a0da7a27d752a14b (diff) | |
| parent | c5ff1af8ce1ac7655ce16804668395697b192048 (diff) | |
| download | node-coveralls-13e05b9a9d5d6414adf0dfa1524d7ee015bd09c8.tar.xz node-coveralls-13e05b9a9d5d6414adf0dfa1524d7ee015bd09c8.zip | |
Merge pull request #87 from addaleax/fix-bug-86
Fix bug #86
Diffstat (limited to 'lib')
| -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 0c516d3..f04720e 100644 --- a/lib/fetchGitData.js +++ b/lib/fetchGitData.js @@ -59,7 +59,7 @@ function fetchBranch(git, cb) { }); } -var REGEX_COMMIT_DETAILS = /\nauthor (.+?) <(.+?)>.+\ncommitter (.+?) <(.+?)>.+[\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) { |
