mirror of
https://github.com/actions/github-script.git
synced 2026-10-09 14:54:17 +03:00
Initial pass on script Action
This commit is contained in:
363 files changed
+77611
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