GPR authentication support

This commit is contained in:
Alex Mullans authored and Alex Mullans committed 2019-10-03 16:35:25 -07:00
1 parent 6c0e2a2a6b
commit 6bd4969ec6
518 files changed
+95599 -2875

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
module.exports = factory
const Octokit = require('./constructor')
const registerPlugin = require('./register-plugin')
function factory (plugins) {
const Api = Octokit.bind(null, plugins || [])
Api.plugin = registerPlugin.bind(null, plugins || [])
return Api
}