diff options
| author | Nick Merwin <[email protected]> | 2015-07-13 22:13:48 -0700 |
|---|---|---|
| committer | Nick Merwin <[email protected]> | 2015-07-13 22:13:48 -0700 |
| commit | ecae39ef0ffb277b8a5e52ce50fcc70317b8a823 (patch) | |
| tree | a29bebf6eb20f4b46b2aae66bebf58cf0a72df9c | |
| parent | 375ad5ea62e7ee4a2eb376f27cfa080da7633784 (diff) | |
| parent | 249e4673a1f5b956428b0334ac3d19184409cc3b (diff) | |
| download | node-coveralls-ecae39ef0ffb277b8a5e52ce50fcc70317b8a823.tar.xz node-coveralls-ecae39ef0ffb277b8a5e52ce50fcc70317b8a823.zip | |
Merge pull request #99 from benchling/master
Fix parsing git message with REGEX_COMMIT_DETAILS
| -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 67b6190..0c516d3 100644 --- a/lib/fetchGitData.js +++ b/lib/fetchGitData.js @@ -59,7 +59,7 @@ function fetchBranch(git, cb) { }); } -var REGEX_COMMIT_DETAILS = /\nauthor (.+?) <(.+?)>.+\ncommitter (.+?) <(.+?)>.+\n?[\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) { |
