mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
refactor(socket) onCloudCmd
This commit is contained in:
parent
7ea932359d
commit
a0b3171e34
1 changed files with 3 additions and 4 deletions
|
|
@ -241,7 +241,9 @@
|
|||
|
||||
pCommand = Util.removeStr(pCommand, CLOUDCMD);
|
||||
|
||||
if (equalPart(pCommand, ' ')) {
|
||||
if (!equalPart(pCommand, ' '))
|
||||
lRet = HELP;
|
||||
else {
|
||||
pCommand = Util.removeStr(pCommand, ' ');
|
||||
|
||||
if (equalPart(pCommand, 'update') && update) {
|
||||
|
|
@ -255,9 +257,6 @@
|
|||
if(Util.strCmp(pCommand, 'exit'))
|
||||
process.exit();
|
||||
}
|
||||
else {
|
||||
lRet = HELP;
|
||||
}
|
||||
|
||||
return lRet;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue