Commit 2f404c9f by Jon Yurek

Merge pull request #1337 from bricker/master

Fix inconsistent spacing
parents 7bf50e12 4b11a66f
......@@ -476,10 +476,10 @@ module Paperclip
# called by storage after the writes are flushed and before @queued_for_writes is cleared
def after_flush_writes
@queued_for_write.each do |style, file|
file.close unless file.closed?
file.unlink if file.respond_to?(:unlink) && file.path.present? && File.exist?(file.path)
end
@queued_for_write.each do |style, file|
file.close unless file.closed?
file.unlink if file.respond_to?(:unlink) && file.path.present? && File.exist?(file.path)
end
end
# You can either specifiy :restricted_characters or you can define your own
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment