mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-02 12:42:12 +00:00
refactor(cloudcmd) PREFIX -> prefix
This commit is contained in:
parent
6e65ad615b
commit
5e9db8eb3c
19 changed files with 53 additions and 50 deletions
|
|
@ -71,7 +71,7 @@ module.exports.init = promisify((callback) => {
|
|||
if (!config('progress'))
|
||||
return callback();
|
||||
|
||||
load(initOperations(CloudCmd.PREFIX, callback));
|
||||
load(initOperations(CloudCmd.prefix, callback));
|
||||
},
|
||||
(callback) => {
|
||||
Loaded = true;
|
||||
|
|
@ -457,7 +457,7 @@ function message(msg, to, names) {
|
|||
}
|
||||
|
||||
function load(callback) {
|
||||
const prefix = CloudCmd.PREFIX;
|
||||
const {prefix} = CloudCmd;
|
||||
const file = `${prefix}/fileop/fileop.js`;
|
||||
|
||||
loadJS(file, (error) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue