refactor(cloudcmd) PREFIX -> prefix

This commit is contained in:
coderaiser 2018-10-29 18:44:10 +02:00
parent 6e65ad615b
commit 5e9db8eb3c
19 changed files with 53 additions and 50 deletions

View file

@ -28,7 +28,7 @@ module.exports = function loadModule(params) {
CloudCmd[name] = () => {
exec(doBefore);
const prefix = CloudCmd.PREFIX;
const {prefix} = CloudCmd;
const pathFull = prefix + CloudCmd.DIRCLIENT_MODULES + path + '.js';
return loadJS(pathFull).then(async () => {