mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(cloudcmd) IO.cp -> IO.copy
This commit is contained in:
parent
13307f3861
commit
5041930685
9 changed files with 48 additions and 11 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue