Merge pull request #8200 from Rylan12/deps-fix-args

deps: fix args for --installed with no formula
This commit is contained in:
Bo Anderson 2020-08-03 19:50:36 +01:00 committed by GitHub
commit 41ada12b48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ module Homebrew
if args.no_named?
raise FormulaUnspecifiedError unless args.installed?
puts_deps sorted_dependents(Formula.installed + Cask::Caskroom.casks), recursive
puts_deps sorted_dependents(Formula.installed + Cask::Caskroom.casks), recursive, args: args
return
end