mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
feature: cloudcmd: gritty v10.0.0
This commit is contained in:
parent
938f9e7674
commit
144e4a3468
2 changed files with 3 additions and 2 deletions
|
|
@ -9,7 +9,8 @@ const noop = (req, res, next) => {
|
|||
|
||||
noop.listen = noop;
|
||||
|
||||
const _getModule = (a) => require(a);
|
||||
const parseDefault = (a) => a.default || a;
|
||||
const _getModule = (a) => parseDefault(require(a));
|
||||
|
||||
export default (config, arg, overrides = {}) => {
|
||||
const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue