Rename memoized variable
This commit is contained in:
parent
b72f5ef353
commit
6f005caf07
@ -227,7 +227,7 @@ module Homebrew
|
||||
|
||||
sig { returns(T::Array[Keg]) }
|
||||
def to_latest_kegs
|
||||
@to_default_kegs ||= begin
|
||||
@to_latest_kegs ||= begin
|
||||
to_formulae_and_casks(only: :formula, method: :latest_kegs).freeze
|
||||
rescue NoSuchKegError => e
|
||||
if (reason = MissingFormula.suggest_command(e.name, "uninstall"))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user