lib/nanoc/extra/deployers/fog.rb in nanoc-3.7.3 vs lib/nanoc/extra/deployers/fog.rb in nanoc-3.7.4
- old
+ new
@@ -60,11 +60,11 @@
files = directory.files
truncated = files.respond_to?(:is_truncated) && files.is_truncated
while truncated
set = directory.files.all(:marker => files.last.key)
truncated = set.is_truncated
- files = files + set
+ files += set
end
keys_to_destroy = files.all.map { |file| file.key }
# Upload all the files in the output folder to the clouds
puts 'Uploading local files'
@@ -87,10 +87,10 @@
end
puts 'Done!'
end
- private
+ private
# Prints the given message on stderr and exits.
def error(msg)
raise RuntimeError.new(msg)
end