Enable the cop that checks for brackets in method definitions

This commit is contained in:
gregoirenovel 2018-03-20 17:54:45 +01:00
parent 19606d5b94
commit ecc0f88417
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ namespace :'2017_10_30_copy_commentaire_piece_justificative_to_file' do
return name.mb_chars.to_s
end
def process_commentaire commentaire
def process_commentaire(commentaire)
puts "Processing commentaire #{commentaire.id}"
if commentaire.piece_justificative.present?
# https://github.com/carrierwaveuploader/carrierwave#uploading-files-from-a-remote-location