fix(rest) download directory: overwriting response data (#78)

This commit is contained in:
coderaiser 2016-10-24 12:36:11 +03:00
parent 8cfd6d6652
commit 7479ef770c

View file

@ -287,15 +287,7 @@
});
packer.on('end', function() {
var name, msg;
process.stdout.write('\n');
if (!wasError) {
name = path.basename(from);
msg = formatMsg(op, name);
fn(null, msg);
}
});
}