Use reference instead of primitive

This commit is contained in:
Leeingnyo
2021-09-14 23:07:47 +09:00
parent 670cf54957
commit 9489d6abfd
3 changed files with 19 additions and 12 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ class Title
previous_entries_size = @entries.size
@entries.select! do |entry|
existence = File.exists? entry.zip_path
yield_process_file context
context["file_counter"].count_and_yield
context["deleted_entry_ids"] << entry.id unless existence
existence
end