mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
DEV: Enable Style/SingleLineMethods
and Style/Semicolon
in Rubocop (#6717)
This commit is contained in:

committed by
Guo Xiang Tan

parent
56948896ff
commit
9248ad1905
@ -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"])
|
||||
|
Reference in New Issue
Block a user