Skip to content

Commit

Permalink
Merge pull request #378 from Shopify/dependabot/bundler/minor-and-pat…
Browse files Browse the repository at this point in the history
…ch-6db6d19809

Bump the minor-and-patch group with 4 updates
  • Loading branch information
github-actions[bot] authored Nov 4, 2024
2 parents d2e59a2 + 8040d05 commit 5fec0e5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ group(:development, :test) do
gem("minitest")
gem("minitest-reporters")
gem("rake", "~> 13.2")
gem("rubocop", "~> 1.67", require: false)
gem("rubocop", "~> 1.68", require: false)
gem("rubocop-shopify", require: false)
gem("rubocop-sorbet", require: false)
gem("sorbet", ">= 0.5.9204", require: false)
Expand Down
28 changes: 14 additions & 14 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ GEM
builder (3.3.0)
byebug (11.1.3)
erubi (1.13.0)
json (2.7.2)
json (2.7.5)
language_server-protocol (3.17.0.3)
minitest (5.25.1)
minitest-reporters (1.7.1)
Expand All @@ -23,15 +23,15 @@ GEM
ruby-progressbar
netrc (0.11.0)
parallel (1.26.3)
parser (3.3.5.0)
parser (3.3.5.1)
ast (~> 2.4.1)
racc
prism (1.2.0)
racc (1.8.1)
rainbow (3.1.1)
rake (13.2.1)
regexp_parser (2.9.2)
rubocop (1.67.0)
rubocop (1.68.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
Expand All @@ -41,21 +41,21 @@ GEM
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.3)
rubocop-ast (1.33.1)
parser (>= 3.3.1.0)
rubocop-shopify (2.15.1)
rubocop (~> 1.51)
rubocop-sorbet (0.8.6)
rubocop-sorbet (0.8.7)
rubocop (>= 1)
ruby-progressbar (1.13.0)
sorbet (0.5.11618)
sorbet-static (= 0.5.11618)
sorbet-runtime (0.5.11618)
sorbet-static (0.5.11618-universal-darwin)
sorbet-static (0.5.11618-x86_64-linux)
sorbet-static-and-runtime (0.5.11618)
sorbet (= 0.5.11618)
sorbet-runtime (= 0.5.11618)
sorbet (0.5.11633)
sorbet-static (= 0.5.11633)
sorbet-runtime (0.5.11633)
sorbet-static (0.5.11633-universal-darwin)
sorbet-static (0.5.11633-x86_64-linux)
sorbet-static-and-runtime (0.5.11633)
sorbet (= 0.5.11633)
sorbet-runtime (= 0.5.11633)
spoom (1.5.0)
erubi (>= 1.10.0)
prism (>= 0.28.0)
Expand Down Expand Up @@ -89,7 +89,7 @@ DEPENDENCIES
minitest-reporters
rake (~> 13.2)
rbi!
rubocop (~> 1.67)
rubocop (~> 1.68)
rubocop-shopify
rubocop-sorbet
sorbet (>= 0.5.9204)
Expand Down
5 changes: 4 additions & 1 deletion lib/rbi/rbs_printer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,10 @@ def parse_t_let(code)
return unless node.name == :let
return unless node.receiver&.slice =~ /^(::)?T$/

node.arguments&.arguments&.fetch(1, nil)&.slice
arguments = node.arguments&.arguments
return unless arguments

arguments.fetch(1, nil)&.slice
end
end

Expand Down

0 comments on commit 5fec0e5

Please sign in to comment.