Skip to content

Commit 504d7f3

Browse files
committed
Remove directory cleanup here since it's now in the at_exit in util class
1 parent 246a62e commit 504d7f3

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lib/octocatalog-diff/util/parallel.rb

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -159,17 +159,6 @@ def self.run_tasks_parallel(result, task_array, logger)
159159
# If the process doesn't exist, that's fine.
160160
end
161161
end
162-
163-
retries = 0
164-
while File.directory?(ipc_tempdir) && retries < 10
165-
retries += 1
166-
begin
167-
FileUtils.remove_entry_secure ipc_tempdir
168-
rescue Errno::ENOTEMPTY, Errno::ENOENT # rubocop:disable Lint/HandleExceptions
169-
# Errno::ENOTEMPTY will trigger a retry because the directory exists
170-
# Errno::ENOENT will break the loop because the directory won't exist next time it's checked
171-
end
172-
end
173162
end
174163

175164
# Utility method! Not intended to be called from outside this class.

0 commit comments

Comments
 (0)