mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 10:26:46 +00:00
Fix.
This commit is contained in:
parent
596a6da241
commit
c1a589c5b6
7078 changed files with 1882834 additions and 319 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