Initial import

This commit is contained in:
Chris Patterson
2019-08-03 21:34:59 -04:00
commit 62b122fb5f
568 changed files with 99070 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
module.exports = hasLastPage
const deprecate = require('./deprecate')
const getPageLinks = require('./get-page-links')
function hasLastPage (link) {
deprecate(`octokit.hasLastPage() You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
return getPageLinks(link).last
}