brew-missing: use name accessor on Formula objects
Commit 00cd16f changed oudated_brews to return a list of Formula objects rather than a list of lists containing formula information. Now we must access the formula name by using the 'name' accessor rather than an array index. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
3898010309
commit
560fb2dbcb
@ -12,7 +12,7 @@ end
|
||||
|
||||
def main
|
||||
# Names of outdated brews; they count as installed.
|
||||
outdated = Homebrew.outdated_brews.collect{ |b| b[1] }
|
||||
outdated = Homebrew.outdated_brews.collect{ |b| b.name }
|
||||
|
||||
formuale_to_check = ARGV.formulae rescue installed_brews
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user