k1LoW / serverless-s3-sync

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

Ignore error if a file/dir did not exist when syncMetadata #67

Closed mk2 closed 4 years ago

mk2 commented 4 years ago

I faced the problem that the sync was finished but the syncMetadata won't be finished. Because syncMetadata will find all files (even though if a user specified the bucket), non-exist localDir was caused the error. So, I fixed the getLocalFiles to ignore non-exist files.

k1LoW commented 4 years ago

Released as v1.14.3.