uninstall: fix indent

This commit is contained in:
Xu Cheng 2015-10-17 03:59:28 +08:00
parent dee4c76e62
commit 2130cb8c86

View File

@ -47,9 +47,9 @@ module Homebrew
# If we delete Cellar/newname, then Cellar/oldname symlink
# can become broken and we have to remove it.
if HOMEBREW_CELLAR.directory?
HOMEBREW_CELLAR.children.each do |rack|
rack.unlink if rack.symlink? && !rack.resolved_path_exists?
end
HOMEBREW_CELLAR.children.each do |rack|
rack.unlink if rack.symlink? && !rack.resolved_path_exists?
end
end
end