Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
LucienMLD authored and clairezed committed Sep 27, 2024
1 parent e44a470 commit 1a3ec7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/services/xlsx_export/annuaire_user_exporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ def build_row_data(row, antenne, expert, user)
row.map do |key, val|
if key == :antenne
antenne.send(val)
elsif base_fields.keys.include? key
elsif base_fields.key? key
user.send(val)
else key.to_s.include? 'team'
else
next unless expert.persisted?
val.respond_to?(:call) ? expert.instance_exec(&val) : expert.send(val)
end
Expand Down

0 comments on commit 1a3ec7e

Please sign in to comment.