mirror of
https://github.com/all-contributors/cli.git
synced 2025-01-09 13:36:29 +00:00
fix(links): add default for links
This commit is contained in:
parent
152a1fe30a
commit
1562a379db
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue