mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(rest) stream.createPipe -> pipe.create
This commit is contained in:
parent
5e055f3d67
commit
6852802b23
1 changed files with 2 additions and 2 deletions
|
|
@ -319,7 +319,7 @@
|
|||
|
||||
case 'cp':
|
||||
if (Util.checkObjTrue(lFiles, ['from', 'to']))
|
||||
stream.createPipe({
|
||||
pipe.create({
|
||||
from : lFiles.from,
|
||||
to : lFiles.to,
|
||||
callback : function(pError) {
|
||||
|
|
@ -335,7 +335,7 @@
|
|||
|
||||
case 'zip':
|
||||
if (Util.checkObjTrue(lFiles, ['from']))
|
||||
stream.createPipe({
|
||||
pipe.create({
|
||||
from : lFiles.from,
|
||||
to : lFiles.to || lFiles.from + '.zip',
|
||||
zip : true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue