Skip to content

Commit

Permalink
fix(links): add default for links
Browse files Browse the repository at this point in the history
  • Loading branch information
Kent C. Dodds authored Mar 12, 2018
1 parent 152a1fe commit 1562a37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/repo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const SUPPORTED_REPO_TYPES = {
name: 'GitHub',
checkKey: 'login',
defaultHost: 'https://github.com',
linkToCommits: '<%= options.repoHost %>/<%= options.projectOwner %>/<%= options.projectName %>/commits?author=<%= contributor.login %>',
linkToIssues: '<%= options.repoHost %>/<%= options.projectOwner %>/<%= options.projectName %>/issues?q=author%3A<%= contributor.login %>',
linkToCommits: '<%= options.repoHost || "https://github.com" %>/<%= options.projectOwner %>/<%= options.projectName %>/commits?author=<%= contributor.login %>',
linkToIssues: '<%= options.repoHost || "https://github.com" %>/<%= options.projectOwner %>/<%= options.projectName %>/issues?q=author%3A<%= contributor.login %>',
getUserInfo: githubAPI.getUserInfo,
getContributors: githubAPI.getContributors
},
Expand Down

0 comments on commit 1562a37

Please sign in to comment.