fix(rest) stream.createPipe -> pipe.create

This commit is contained in:
coderaiser 2013-09-18 11:09:36 +00:00
parent 5e055f3d67
commit 6852802b23

View file

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