include node modules

This commit is contained in:
Opportunity
2019-09-30 17:55:21 +08:00
Unverified
parent cf5188b310
commit 7c2a9b6f1c
371 changed files with 74540 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
module.exports = hasFirstPage
const deprecate = require('./deprecate')
const getPageLinks = require('./get-page-links')
function hasFirstPage (link) {
deprecate(`octokit.hasFirstPage() You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
return getPageLinks(link).first
}