Hack fix for Sorbet hidden definitions update failing on Ruby 3
This commit is contained in:
parent
ee5f337a82
commit
110b9b03b0
@ -63,7 +63,8 @@ module Homebrew
|
|||||||
ohai "Updating Tapioca RBI files..."
|
ohai "Updating Tapioca RBI files..."
|
||||||
safe_system "bundle", "exec", "tapioca", "gem", *tapioca_args
|
safe_system "bundle", "exec", "tapioca", "gem", *tapioca_args
|
||||||
safe_system "bundle", "exec", "parlour"
|
safe_system "bundle", "exec", "parlour"
|
||||||
safe_system "bundle", "exec", "srb", "rbi", "hidden-definitions"
|
safe_system({ "RUBYLIB" => "#{HOMEBREW_LIBRARY_PATH}/sorbet/hidden_definitions_hacks" },
|
||||||
|
"bundle", "exec", "srb", "rbi", "hidden-definitions")
|
||||||
safe_system "bundle", "exec", "tapioca", "todo"
|
safe_system "bundle", "exec", "tapioca", "todo"
|
||||||
|
|
||||||
if args.suggest_typed?
|
if args.suggest_typed?
|
||||||
|
|||||||
@ -0,0 +1,4 @@
|
|||||||
|
# typed: strict
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
# This file intentionally left blank
|
||||||
Loading…
x
Reference in New Issue
Block a user