Skip to content

Commit

Permalink
remove nodejs 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc committed Jan 30, 2018
1 parent 3825987 commit a68f10f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: node_js
node_js:
- '0.10'
- '0.12'
- '1'
- '2'
Expand Down
7 changes: 6 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ TGM.prototype.info = function (hash) {
return this.parse(info);
};

/**
* parse commit log
* @param info
* @returns {{}}
*/
TGM.prototype.parse = function(info) {
var r = {};

Expand Down Expand Up @@ -96,6 +101,6 @@ TGM.prototype.parse = function(info) {
r.message = arr.slice(cnt).join('').trim();

return r;
}
};

module.exports = TGM;

0 comments on commit a68f10f

Please sign in to comment.