Update Library/Homebrew/sorbet/custom_generators/env_config.rb
This commit is contained in:
parent
3b45ecdc70
commit
703b9b4f4d
@ -24,7 +24,7 @@ File.open("#{__dir__}/../../env_config.rbi", "w") do |file|
|
|||||||
methods.each do |method|
|
methods.each do |method|
|
||||||
return_type = if method.end_with?("?")
|
return_type = if method.end_with?("?")
|
||||||
T::Boolean
|
T::Boolean
|
||||||
elsif (default = dynamic_methods[method][:default])F
|
elsif (default = dynamic_methods[method][:default])
|
||||||
default.class
|
default.class
|
||||||
else
|
else
|
||||||
T.nilable(String)
|
T.nilable(String)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user