mirror of
https://gh-proxy.org/https://github.com/softprops/action-gh-release.git
synced 2026-07-23 11:53:02 +08:00
setup integration test
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