Apply yield forcely

This commit is contained in:
Leeingnyo
2021-09-14 22:51:37 +09:00
parent 2e09efbd62
commit 670cf54957
3 changed files with 7 additions and 0 deletions

View File

@@ -115,6 +115,7 @@ class Title
previous_entries_size = @entries.size
@entries.select! do |entry|
existence = File.exists? entry.zip_path
yield_process_file context
context["deleted_entry_ids"] << entry.id unless existence
existence
end