Skip to content

Commit

Permalink
Add suggest name information
Browse files Browse the repository at this point in the history
  • Loading branch information
espadrine committed Jan 4, 2015
1 parent 4e551e9 commit 9d0e1ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions suggest.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ try {
// - badges: list of objects of the form:
// - link: target as a string URL.
// - badge: shields image URL.
// - name: string
var suggest = function(data, end) {
try {
var url = nodeUrl.parse(data.url);
Expand Down Expand Up @@ -118,6 +119,7 @@ var githubLicense = function(user, repo, end) {
end(null, {
link: link,
badge: shieldsBadge(badgeData),
name: 'GitHub license'
});
return;
} else {
Expand Down

0 comments on commit 9d0e1ef

Please sign in to comment.