mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
refactor(cloudcmd) PREFIX -> prefix
This commit is contained in:
parent
6e65ad615b
commit
5e9db8eb3c
19 changed files with 53 additions and 50 deletions
|
|
@ -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 () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue