Remove superflous method call.

No `nil` values to be expected here.
pull/30888/head
David Roetzel 2024-07-01 20:51:00 +02:00
parent 323bae362d
commit 0ff205d767
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class Admin::SystemCheck::MissingIndexesCheck < Admin::SystemCheck::BaseCheck
@missing_indexes ||= begin
expected_indexes_by_table.flat_map do |table, indexes|
expected_indexes = indexes.map(&:name)
(expected_indexes - existing_indexes_for(table)).compact
expected_indexes - existing_indexes_for(table)
end
end
end