Skip to content
Snippets Groups Projects
Commit 0f6cd9d7 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #1483 from MikeMcQuaid/uninstall-no-kegs-needed-force

uninstall: don't need kegs to exist for --force.
parents 8241bbb1 4538d80d
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ module Homebrew
kegs_by_rack = if ARGV.force?
Hash[ARGV.named.map do |name|
rack = Formulary.to_rack(name)
next unless rack.directory?
[rack, rack.subdirs.map { |d| Keg.new(d) }]
end]
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment