Fix link_formatter.rb's lints (#13301)
This commit is contained in:
parent
c2b7f0b096
commit
a842247900
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue