mirror of
https://gitea.com/actions/stale.git
synced 2026-07-21 13:02:19 +00:00
Initial import
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
module.exports = registerPlugin
|
||||
|
||||
const factory = require('./factory')
|
||||
|
||||
function registerPlugin (plugins, pluginFunction) {
|
||||
return factory(plugins.includes(pluginFunction) ? plugins : plugins.concat(pluginFunction))
|
||||
}
|
||||
Reference in New Issue
Block a user