lib/attachs/jobs/delete_job.rb in attachs-4.0.0.1 vs lib/attachs/jobs/delete_job.rb in attachs-4.0.0.2

- old
+ new

@@ -2,10 +2,10 @@ module Jobs class DeleteJob < Base def perform(paths) paths.each do |path| - if storage.exist?(path) + if storage.exists?(path) storage.delete path end end end