mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-11 14:41:11 +00:00
Add auth
This commit is contained in:
parent
fc9ff49b90
commit
5273d0df9c
391 changed files with 79850 additions and 45 deletions
9
node_modules/octokit-pagination-methods/lib/has-first-page.js
generated
vendored
Normal file
9
node_modules/octokit-pagination-methods/lib/has-first-page.js
generated
vendored
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue