8000 Bug: s3: uploading to dest with slash in beginning should fail but doesn't · Issue #21 · jpillora/grunt-aws · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Bug: s3: uploading to dest with slash in beginning should fail but doesn't #21
Open
@davidduffett

Description

@davidduffett

When you specify a "dest" option that begins with a slash, eg:

{
  src: "**",
  dest: "/myfolder/"
}

The task output displays like it has succeeded, eg:

Running "s3:assets" (s3) task
Retrieving list of existing objects prefixed with '/myfolder/'...
Put '/myfolder/myfile.html'

When actually nothing is uploaded at all.

The task should probably fail in these cases, as a slash is not valid at the beginning of an object identifier in S3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0