lib/s3_website/uploader.rb in s3_website-1.3.1 vs lib/s3_website/uploader.rb in s3_website-1.3.2

- old
+ new

@@ -49,10 +49,10 @@ changed_files, new_files = DiffHelper.resolve_files_to_upload( s3.buckets[config['s3_bucket']], site_dir, config ) - to_upload = (changed_files + new_files).reject { |f| Upload.is_blacklisted f } + to_upload = changed_files + new_files if to_upload.empty? puts "No new or changed files to upload" else pre_upload_report = [] pre_upload_report << "Uploading"