mirror of
https://github.com/actions/github-script.git
synced 2026-04-08 07:00:05 +00:00
Initial pass on script Action
This commit is contained in:
commit
8080ea76f3
363 changed files with 77611 additions and 0 deletions
7
node_modules/@octokit/rest/lib/register-plugin.js
generated
vendored
Normal file
7
node_modules/@octokit/rest/lib/register-plugin.js
generated
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
module.exports = registerPlugin
|
||||
|
||||
const factory = require('./factory')
|
||||
|
||||
function registerPlugin (plugins, pluginFunction) {
|
||||
return factory(plugins.includes(pluginFunction) ? plugins : plugins.concat(pluginFunction))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue