Initial pass on script Action

This commit is contained in:
Jonathan Clem
2019-08-29 18:46:42 -04:00
commit 8080ea76f3
363 changed files with 77611 additions and 0 deletions

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
}