DEV: Enable Style/SingleLineMethods and Style/Semicolon in Rubocop (#6717)

This commit is contained in:
David Taylor
2018-12-04 03:48:13 +00:00
committed by Guo Xiang Tan
parent 56948896ff
commit 9248ad1905
30 changed files with 171 additions and 72 deletions

View File

@ -1019,7 +1019,7 @@ SQL
end
def html_for_attachments(user_id, files)
html = "";
html = ""
files.each do |file|
upload, filename = find_upload(user_id, file["attachment_id"], file["file_name"])