Files
upload-google-play/node_modules/yargs/lib/middleware.js
Drew Heavner a29f8cd536 Finished action
Adding the monolith node_modules dir for deployment
2019-12-04 09:58:34 -05:00

11 lines
301 B
JavaScript

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
}
}