Fix link_formatter.rb's lints (#13301)

This commit is contained in:
Mac Siri 2021-04-07 14:28:58 -04:00 committed by GitHub
parent c2b7f0b096
commit a842247900
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,9 +3,11 @@ module Slack
module Util
class LinkFormatter
class << self
def format string, opts={}
# rubocop:disable Style/OptionHash
def format(string, opts = {})
LinkFormatter.new(string, **opts).formatted
end
# rubocop:enable Style/OptionHash
end
end
end