mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
refactor: client: DIR_CLIENT_MODULES -> DIR_MODULES
This commit is contained in:
parent
656000e7e0
commit
d7e43d8a18
2 changed files with 3 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ module.exports = function loadModule(params) {
|
|||
exec(doBefore);
|
||||
|
||||
const {prefix} = CloudCmd;
|
||||
const pathFull = prefix + CloudCmd.DIR_CLIENT_MODULES + path + '.js';
|
||||
const pathFull = prefix + CloudCmd.DIR_MODULES + path + '.js';
|
||||
|
||||
return loadJS(pathFull).then(async () => {
|
||||
const newModule = async (f) => f && f();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue