mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-12 15:11:11 +00:00
.
This commit is contained in:
parent
beb1329f9f
commit
2b95e76931
7736 changed files with 1874747 additions and 51184 deletions
node_modules/@octokit/rest/lib
14
node_modules/@octokit/rest/lib/factory.js
generated
vendored
14
node_modules/@octokit/rest/lib/factory.js
generated
vendored
|
@ -1,10 +1,10 @@
|
|||
module.exports = factory
|
||||
module.exports = factory;
|
||||
|
||||
const Octokit = require('./constructor')
|
||||
const registerPlugin = require('./register-plugin')
|
||||
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
|
||||
function factory(plugins) {
|
||||
const Api = Octokit.bind(null, plugins || []);
|
||||
Api.plugin = registerPlugin.bind(null, plugins || []);
|
||||
return Api;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue