diff options
Diffstat (limited to 'app/workers/delete_stored_files_worker.rb')
-rw-r--r-- | app/workers/delete_stored_files_worker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/delete_stored_files_worker.rb b/app/workers/delete_stored_files_worker.rb index 9cf5631b7d8..689ac3dd0ce 100644 --- a/app/workers/delete_stored_files_worker.rb +++ b/app/workers/delete_stored_files_worker.rb @@ -9,8 +9,8 @@ class DeleteStoredFilesWorker # rubocop:disable Scalability/IdempotentWorker def perform(class_name, keys) klass = begin class_name.constantize - rescue NameError - nil + rescue NameError + nil end unless klass |