Merge pull request #452 from rschamp/hotfix/clean-s3-uploads

[Master] Remove deleted files from S3 on build
This commit is contained in:
Ray Schamp 2016-04-29 10:01:48 -04:00
commit c41c40340a

View file

@ -26,6 +26,7 @@ var skipped = 0;
var uploaded = 0;
var sync = s3Client.uploadDir({
deleteRemoved: true,
localDir: localDir,
getS3Params: function (localfile, stat, callback) {
if (IGNORE_FILES.indexOf(path.basename(localfile)) != -1) {