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