mod/core/set/all/trash.rb in card-1.19.6 vs mod/core/set/all/trash.rb in card-1.20.0

- old
+ new

@@ -30,10 +30,10 @@ file_ids.each do |file_id| next unless trashed_card_ids.member?(file_id) if Card.exists?(file_id) # double check! raise Card::Error, "Narrowly averted deleting current file" end - FileUtils.rm_rf "#{dir}/#{file_id}", secure: true + ::FileUtils.rm_rf "#{dir}/#{file_id}", secure: true end end def all_file_ids dir = Card.paths["files"].existent.first