feature(cloudcmd) IO.cp -> IO.copy

This commit is contained in:
coderaiser 2020-08-14 17:13:27 +03:00
parent 13307f3861
commit 5041930685
9 changed files with 48 additions and 11 deletions

View file

@ -219,7 +219,7 @@ function onPUT({name, config, body}, callback) {
} case 'rename':
return rename(rootDir, files.from, files.to, callback);
case 'cp':
case 'copy':
if (!files.from || !files.names || !files.to)
return callback(body);