mirror of
https://github.com/softprops/action-gh-release.git
synced 2026-11-12 21:41:58 +08:00
node_modules
This commit is contained in:
1 parent
722f21acbd
commit
67ba06729b
445 files changed
+83958
-1
No files matched your search
+10
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user