Enable the Lint/UnusedBlockArgument cop

This commit is contained in:
gregoirenovel 2018-12-24 17:53:16 +01:00 committed by Pierre de La Morinerie
parent ddc71cbacf
commit 0596d53ac2
10 changed files with 16 additions and 16 deletions

View file

@ -91,6 +91,6 @@ class Etablissement < ApplicationRecord
def message_for_signature
JSON.pretty_generate(as_json(include: {
exercices: { only: [:ca, :date_fin_exercice, :date_fin_exercice_timestamp] }
}).delete_if { |k, v| v.blank? })
}).delete_if { |_k, v| v.blank? })
end
end