formula: fix undefined method error

Fixes: Homebrew/homebrew#47673.
Closes Homebrew/homebrew#47672.

Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
This commit is contained in:
Mateusz Lenik 2016-01-04 16:04:31 +01:00 committed by Martin Afanasjew
parent 8f8c3cc1b1
commit 47afde940a

View File

@ -1495,7 +1495,7 @@ class Formula
# If the cellar only has one version installed, don't complain # If the cellar only has one version installed, don't complain
# that we can't tell which one to keep. Don't complain at all if the # that we can't tell which one to keep. Don't complain at all if the
# only installed version is a pinned formula. # only installed version is a pinned formula.
opoo "Skipping #{full_name}: most recent version #{f.pkg_version} not installed" opoo "Skipping #{full_name}: most recent version #{pkg_version} not installed"
end end
eligible_for_cleanup eligible_for_cleanup
end end