diff --git a/lib/slack/notifier/util/link_formatter.rb b/lib/slack/notifier/util/link_formatter.rb index 0b37c8cfa..13d9336c3 100644 --- a/lib/slack/notifier/util/link_formatter.rb +++ b/lib/slack/notifier/util/link_formatter.rb @@ -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