k1LoW / serverless-s3-sync

A plugin to sync local directories and S3 prefixes for Serverless Framework :zap:
183 stars 70 forks source link

When syncing metadata replace every path separator with '/' #51

Closed lvass74 closed 4 years ago

lvass74 commented 4 years ago

I had issues on Windows with backslashes in the file path when synchronizing files with caching metadata.

lvass74 commented 4 years ago

Updated pull request, moved replacement logic into a utility function. Thought it may be better then just moving the regexp into a const. What do you think?

k1LoW commented 4 years ago

Released as v1.10.5.