refactor: client: DIR_CLIENT_MODULES -> DIR_MODULES

This commit is contained in:
coderaiser 2023-01-30 13:01:08 +02:00
parent 656000e7e0
commit d7e43d8a18
2 changed files with 3 additions and 3 deletions

View file

@ -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();