Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rubocop-shopify from 2.14.0 to 2.15.1 #492

Merged
merged 1 commit into from Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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