GPR authentication support
This commit is contained in:
1 parent
6c0e2a2a6b
commit
6bd4969ec6
518 files changed
+95599
-2875
No files matched your search
+9
@@ -0,0 +1,9 @@
|
||||
module.exports = hasPreviousPage
|
||||
|
||||
const deprecate = require('./deprecate')
|
||||
const getPageLinks = require('./get-page-links')
|
||||
|
||||
function hasPreviousPage (link) {
|
||||
deprecate(`octokit.hasPreviousPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
|
||||
return getPageLinks(link).prev
|
||||
}
|
||||
Reference in new issue
Block a user