Use parentheses

This commit is contained in:
gregoirenovel 2018-12-18 21:29:31 +01:00
parent 9914ebdfe4
commit 026fd1aaa2
4 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ class PiecesJustificativesService
def self.upload_one!(dossier, user, params)
content = params[:piece_justificative][:content]
if ClamavService.safe_file? content.path
if ClamavService.safe_file?(content.path)
pj = PieceJustificative.new(content: content,
dossier: dossier,
type_de_piece_justificative: nil,