Fix false/Boolean type check
https://sorbet.org/docs/error-reference#7001
This commit is contained in:
parent
9bf4e620e0
commit
a0e68613f5
@ -63,9 +63,9 @@ module Homebrew
|
||||
|
||||
exec_editor(*paths)
|
||||
|
||||
is_formula = false
|
||||
is_cask = false
|
||||
is_tap = false
|
||||
is_formula = T.let(false, T::Boolean)
|
||||
is_cask = T.let(false, T::Boolean)
|
||||
is_tap = T.let(false, T::Boolean)
|
||||
if paths.any? do |path|
|
||||
next if path == "--project"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user