mirror of
https://github.com/actions/setup-go.git
synced 2025-06-30 21:23:43 +00:00
Fix.
This commit is contained in:
parent
ffce9ce43f
commit
a966e84ff9
6749 changed files with 937822 additions and 460 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…
Add table
Add a link
Reference in a new issue