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

Write generates bad paths when run from Windows

Open gleeds opened this issue 7 years ago • 0 comments

When a write operation is run on a Windows machine, it copies all of the files in sub directories to the root of the S3 bucket with backslashes in their name. For example if you are writing a file that has the Windows path:

\api\index.html

You would end up with a file in the root of your s3 bucket named literally "\api\index.html" including the backslashes in the filename.

gleeds avatar Dec 02 '16 23:12 gleeds