Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Renaming user.login to user (GitHub api v2).

  • Loading branch information...
commit 8b441be8e6c62a03db15f803914814380d6ec8d7 1 parent 8a046ae
@vesln authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/reporters/basic.js
  2. +1 −1  lib/reporters/number.js
View
2  lib/reporters/basic.js
@@ -60,7 +60,7 @@ Basic.prototype.print = function() {
table = new Table(self.options);
issues.forEach(function(issue) {
- table.push([issue.title, issue.user.login, issue.created_at]);
+ table.push([issue.title, issue.user, issue.created_at]);
});
out += self.templates.main
View
2  lib/reporters/number.js
@@ -52,7 +52,7 @@ Number.prototype.print = function() {
content += self.templates.issue
.replace(':number', issue.number)
.replace(':title', issue.title)
- .replace(':author', issue.user.login);
+ .replace(':author', issue.user);
});
out += self.templates.main
Please sign in to comment.
Something went wrong with that request. Please try again.