mirror of
https://code.forgejo.org/actions/setup-go.git
synced 2026-08-28 21:14:58 -04:00
Fix.
This commit is contained in:
parent
ffce9ce43f
commit
a966e84ff9
6749 changed files with 937824 additions and 462 deletions
10
node_modules/yargs/lib/middleware.js
generated
vendored
Normal file
10
node_modules/yargs/lib/middleware.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
module.exports = function (globalMiddleware, context) {
|
||||
return function (callback) {
|
||||
if (Array.isArray(callback)) {
|
||||
Array.prototype.push.apply(globalMiddleware, callback)
|
||||
} else if (typeof callback === 'function') {
|
||||
globalMiddleware.push(callback)
|
||||
}
|
||||
return context
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue