mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
chore(rest) add " "
This commit is contained in:
parent
09bff30c55
commit
96eb7068fc
1 changed files with 3 additions and 3 deletions
|
|
@ -104,7 +104,7 @@
|
|||
|
||||
switch (p.request.method) {
|
||||
case 'GET':
|
||||
if( Util.strCmp(lQuery, 'size') )
|
||||
if (Util.strCmp(lQuery, 'size'))
|
||||
dir.getSize(p.name, function(pErr, pSize) {
|
||||
if (!pErr){
|
||||
lSize = CloudFunc.getShortSize(pSize);
|
||||
|
|
@ -145,7 +145,6 @@
|
|||
});
|
||||
|
||||
else {
|
||||
|
||||
if (lQuery === 'zip') {
|
||||
lZip = true;
|
||||
lName = p.name + '.zip';
|
||||
|
|
@ -246,7 +245,7 @@
|
|||
*/
|
||||
function onGET(pParams) {
|
||||
var lRet = main.checkParams(pParams);
|
||||
if(lRet){
|
||||
if (lRet) {
|
||||
var p = pParams,
|
||||
lCmd = p.command;
|
||||
|
||||
|
|
@ -351,6 +350,7 @@
|
|||
else
|
||||
main.sendError(pParams, p.data);
|
||||
break;
|
||||
|
||||
default:
|
||||
send(pParams);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue