Fix code style.

This commit is contained in:
Markus Reiter 2023-03-13 00:57:21 +01:00 committed by GitHub
parent c6ff9b59c0
commit 66d2ab220a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ File.open("#{__dir__}/../../env_config.rbi", "w") do |file|
methods.each do |method|
return_type = if method.end_with?("?")
T::Boolean
elsif default = dynamic_methods[method][:default]
elsif (default = dynamic_methods[method][:default])F
default.class
else
T.nilable(String)