Skip to content

uploadPath fails without tailing slash #18

@marlun78

Description

@marlun78
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions