Skip to content

Commit

Permalink
remove nullsafe operator
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Aug 19, 2024
1 parent 177d060 commit 71c64a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/domain/people_search.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def pre_load(people)
def in_associations(person)
association_symbols.map do |sym|
attribute_names = in_association(person, sym)
sym.to_s if attribute_names&.any?
sym.to_s if attribute_names.any?
end.flatten
end

Expand Down

0 comments on commit 71c64a2

Please sign in to comment.