mirror of
https://github.com/actions/setup-node.git
synced 2026-05-03 10:40:33 +03:00
new toolkit and scoped registries
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
module.exports = hasNextPage
|
||||
|
||||
const deprecate = require('./deprecate')
|
||||
const getPageLinks = require('./get-page-links')
|
||||
|
||||
function hasNextPage (link) {
|
||||
deprecate(`octokit.hasNextPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
|
||||
return getPageLinks(link).next
|
||||
}
|
||||
Reference in New Issue
Block a user