chore(rest) rm " "

This commit is contained in:
coderaiser 2016-11-28 14:51:45 +02:00
parent 0feb8c7a3c
commit 741563fa62

View file

@ -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