mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-09-11 20:15:46 +08:00
vendor node_modules for release
This commit is contained in:
10
node_modules/@octokit/rest/lib/factory.js
generated
vendored
Normal file
10
node_modules/@octokit/rest/lib/factory.js
generated
vendored
Normal 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
|
||||
}
|
Reference in New Issue
Block a user