mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-22 07:34:16 +00:00
chore(rest) rm " "
This commit is contained in:
parent
0feb8c7a3c
commit
741563fa62
1 changed files with 5 additions and 5 deletions
|
|
@ -179,7 +179,7 @@ function onPUT(name, body, callback) {
|
|||
if (name[0] === '/')
|
||||
cmd = name.replace('/', '');
|
||||
|
||||
files = json.parse(body);
|
||||
files = json.parse(body);
|
||||
|
||||
switch(cmd) {
|
||||
case 'mv':
|
||||
|
|
@ -244,8 +244,8 @@ function onPUT(name, body, callback) {
|
|||
}
|
||||
|
||||
function pack(from, to, names, fn) {
|
||||
from = root(from);
|
||||
to = root(to);
|
||||
from = root(from);
|
||||
to = root(to);
|
||||
|
||||
if (!names) {
|
||||
names = [
|
||||
|
|
@ -259,8 +259,8 @@ function pack(from, to, names, fn) {
|
|||
}
|
||||
|
||||
function extract(from, to, fn) {
|
||||
from = root(from);
|
||||
|
||||
from = root(from);
|
||||
|
||||
if (to)
|
||||
to = root(to);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue