reinstall: use ARGV.resolved_formulae

This commit is contained in:
Xu Cheng 2015-05-17 21:10:28 +08:00
parent 437a3182b0
commit d338f291df

View File

@ -2,7 +2,7 @@ require "formula_installer"
module Homebrew module Homebrew
def reinstall def reinstall
ARGV.formulae.each { |f| reinstall_formula(f) } ARGV.resolved_formulae.each { |f| reinstall_formula(f) }
end end
def reinstall_formula f def reinstall_formula f