Skip to content

Commit

Permalink
create folders and upload to them
Browse files Browse the repository at this point in the history
  • Loading branch information
madhums committed Sep 25, 2014
1 parent 563d8fc commit e67ef04
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion test/imager.js
Expand Up @@ -16,7 +16,7 @@ exports.variants = {
rotate: 'auto',
},
rename: function (file, preset) {
return '/users/1/' + preset + '/' + file.name;
return 'users/1/' + preset + '/' + file.name;
}
},
// preset
Expand Down
1 change: 0 additions & 1 deletion test/test.js
Expand Up @@ -16,7 +16,6 @@ describe('Imager', function () {
it('should run', function (done) {
var imager = new Imager(config.variants, config.storages.amazon);
imager.upload(files, 'item', function (err, _files) {
console.log(err);
console.log(_files);
done(err);
});
Expand Down

0 comments on commit e67ef04

Please sign in to comment.