Merge pull request #781 from Homebrew/revert-752-diagnostic-ignore-duplicate-brew-cask
Revert "diagnostic: ignore duplicated `brew-cask` commands"
This commit is contained in:
commit
67fef7125d
@ -1090,8 +1090,6 @@ module Homebrew
|
|||||||
cmd_map[cmd_name] << cmd
|
cmd_map[cmd_name] << cmd
|
||||||
end
|
end
|
||||||
cmd_map.reject! { |_cmd_name, cmd_paths| cmd_paths.size == 1 }
|
cmd_map.reject! { |_cmd_name, cmd_paths| cmd_paths.size == 1 }
|
||||||
# TODO: remove when Cask migration is complete.
|
|
||||||
cmd_map.reject! { |cmd_name, _cmd_paths| cmd_name.include? "brew-cask" }
|
|
||||||
return if cmd_map.empty?
|
return if cmd_map.empty?
|
||||||
|
|
||||||
message = "You have external commands with conflicting names.\n"
|
message = "You have external commands with conflicting names.\n"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user