Skip to content

Commit

Permalink
Merge pull request #186 from rocjs/fix/missing-template
Browse files Browse the repository at this point in the history
Fixed issue where some templates were not found
  • Loading branch information
dlmr committed Jul 12, 2017
2 parents 5af65e9 + 57ae875 commit b513b90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/init/githubHelpers.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import got from 'got';

export function getOfficialTemplates() {
return got('https://api.github.com/users/rocjs/repos', {
// TODO Implement pagination support before we reach over 100 repositories
return got('https://api.github.com/users/rocjs/repos?per_page=100', {
json: true,
})
.then(response => response.body)
Expand Down

0 comments on commit b513b90

Please sign in to comment.