Merge pull request #17621 from Homebrew/actually-use-spoom-in-ci

This commit is contained in:
Mike McQuaid 2024-07-04 08:38:10 +01:00 committed by GitHub
commit 21ba72b190
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,10 +60,10 @@ module Homebrew
if args.suggest_typed?
ohai "Checking if we can bump Sorbet `typed` sigils..."
# --sorbet needed because of https://github.com/Shopify/spoom/issues/488
safe_system "bundle", "exec", "spoom", "srb", "bump", "--dry", "--from", "false", "--to", "true",
"--sorbet", "#{Gem.bin_path("sorbet", "srb")} tc"
safe_system "bundle", "exec", "spoom", "srb", "bump", "--dry", "--from", "true", "--to", "strict",
"--sorbet", "#{Gem.bin_path("sorbet", "srb")} tc"
system "bundle", "exec", "spoom", "srb", "bump", "--from", "false", "--to", "true",
"--sorbet", "#{Gem.bin_path("sorbet", "srb")} tc"
system "bundle", "exec", "spoom", "srb", "bump", "--from", "true", "--to", "strict",
"--sorbet", "#{Gem.bin_path("sorbet", "srb")} tc"
end
return