mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fix(put) rm dublicate mellow
This commit is contained in:
parent
ca4fae0cad
commit
b16c910995
1 changed files with 1 additions and 4 deletions
|
|
@ -13,8 +13,7 @@
|
|||
|
||||
flop = require(DIR_SERVER + 'flop'),
|
||||
pack = require(DIR_SERVER + 'pack'),
|
||||
pipe = require(DIR_SERVER + 'pipe'),
|
||||
mellow = require(DIR_SERVER + 'mellow');
|
||||
pipe = require(DIR_SERVER + 'pipe');
|
||||
|
||||
exports.onPut = onPut;
|
||||
|
||||
|
|
@ -30,8 +29,6 @@
|
|||
onSave = Util.exec.with(onDone, 'save'),
|
||||
OnMakeDir = Util.exec.with(onDone, 'make dir');
|
||||
|
||||
name = mellow.convertPath(name);
|
||||
|
||||
switch(query) {
|
||||
default:
|
||||
pipe.create(readStream, name, onSave);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue