From 1d0ac5c6b3b3facf101c51c6257c96cdb4f39726 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 31 Jul 2020 19:25:37 +0200 Subject: [PATCH] Pass `args` correctly in `brew outdated`. --- Library/Homebrew/cmd/outdated.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cmd/outdated.rb b/Library/Homebrew/cmd/outdated.rb index 7ce5a854a0..407de29c0e 100644 --- a/Library/Homebrew/cmd/outdated.rb +++ b/Library/Homebrew/cmd/outdated.rb @@ -83,13 +83,13 @@ module Homebrew outdated_formulae_casks.flatten end - print_outdated(outdated) + print_outdated(outdated, args: args) end Homebrew.failed = args.named.present? && outdated.present? end - def print_outdated(formulae_or_casks) + def print_outdated(formulae_or_casks, args:) formulae_or_casks.each do |formula_or_cask| if formula_or_cask.is_a?(Formula) f = formula_or_cask