Skip to content

Commit

Permalink
Merge pull request #492 from Shopify/dependabot/bundler/rubocop-shopi…
Browse files Browse the repository at this point in the history
…fy-2.15.1

Bump rubocop-shopify from 2.14.0 to 2.15.1
  • Loading branch information
GoodForOneFare committed Mar 1, 2024
2 parents 07b74be + 6d5fffc commit 333dfb3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Expand Up @@ -55,7 +55,7 @@ GEM
parser (>= 3.2.1.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-shopify (2.14.0)
rubocop-shopify (2.15.1)
rubocop (~> 1.51)
rubocop-sorbet (0.7.7)
rubocop (>= 0.90.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/cli/ui/ansi.rb
Expand Up @@ -45,7 +45,7 @@ def printing_width(str)
#
sig { params(str: String).returns(String) }
def strip_codes(str)
str.gsub(/\x1b\[[\d;]+[A-z]|\r/, '')
str.gsub(/\x1b\[[\d;]+[A-Za-z]|\r/, '')
end

# Returns an ANSI control sequence
Expand Down
4 changes: 2 additions & 2 deletions lib/cli/ui/frame/frame_style.rb
Expand Up @@ -106,8 +106,8 @@ def initialize(name)
sig { returns(String) }
def message
keys = FrameStyle::MAP.keys.map(&:inspect).join(', ')
"invalid frame style: #{@name.inspect}" \
' -- must be one of CLI::UI::Frame::FrameStyle::MAP ' \
"invalid frame style: #{@name.inspect} " \
'-- must be one of CLI::UI::Frame::FrameStyle::MAP ' \
"(#{keys})"
end
end
Expand Down

0 comments on commit 333dfb3

Please sign in to comment.