diff options
| author | Nick Merwin <[email protected]> | 2015-12-10 12:53:34 -0800 |
|---|---|---|
| committer | Nick Merwin <[email protected]> | 2015-12-10 12:53:34 -0800 |
| commit | 652d12f69ac96e5e0a4a32e17c71a44f574a95b4 (patch) | |
| tree | 7a57c901051e13aef6bf8a023481659b541c1fb4 /lib | |
| parent | d084add18e87fd1a292315de7c9eb171e8fd4b93 (diff) | |
| parent | c37548941c9c4db6eca962cd5baabebaf9ea5b40 (diff) | |
| download | node-coveralls-652d12f69ac96e5e0a4a32e17c71a44f574a95b4.tar.xz node-coveralls-652d12f69ac96e5e0a4a32e17c71a44f574a95b4.zip | |
Merge branch 'master' of github.com:nickmerwin/node-coveralls
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) { |
