kevva / download

Download and extract files
MIT License
1.28k stars 200 forks source link

Rename and extract do not work together #96

Closed mrjonny2 closed 8 years ago

mrjonny2 commented 8 years ago

If you add rename to the file it will not be extracted new Download({mode: '755', extract: true}) .get(contentURL + URLfileName) .dest('cache') .run(function(err, files){ if (err) { return callback(err, files) } return callback(err, files) }) That works but if I add .rename(fileName) Anywhere in that it will no longer extract the file

kevva commented 8 years ago

The .rename method is removed now.