gulp-s3 icon indicating copy to clipboard operation
gulp-s3 copied to clipboard

`uploadPath` fails without tailing slash

Open marlun78 opened this issue 10 years ago • 0 comments

var aws = JSON.parse(fs.readFileSync('./aws.json')),
    options = {
        uploadPath: '/site/js'
    };
gulp.src('./dist/file.js').pipe(s3(aws, options));

Results in the file being uploaded as: /site/jsfile.js instead of /site/js/file.js.

marlun78 avatar Jun 18 '14 09:06 marlun78