Fix most rubocop issues (#2165)
* Run rubocop --autocorrect on app/, config/ and lib/, also manually fix some remaining style issues * Run rubocop --autocorrect-all on db/ * Run rubocop --autocorrect-all on `spec/` and fix remaining issues
This commit is contained in:
@@ -15,6 +15,7 @@ class AdvancedTextFormatter < TextFormatter
|
||||
|
||||
def autolink(link, link_type)
|
||||
return link if link_type == :email
|
||||
|
||||
@format_link.call(link)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user