Skip to content
Snippets Groups Projects
Commit 69e766a6 authored by Misty De Meo's avatar Misty De Meo Committed by Jack Nagel
Browse files

fix brew update treating command changes as deletions


`brew update` was treating all changes to internal commands as
deletions due to a typo, resulting in spurious notifications of removed
commands.

Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
parent 54e7eb3b
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ class RefreshBrew
@added_examples = changed_items('A', EXAMPLE_DIR)
@deleted_examples = changed_items('D', EXAMPLE_DIR)
@added_internal_commands = changed_items('A', "Library/Homebrew/cmd")
@deleted_internal_commands = changed_items('M', "Library/Homebrew/cmd")
@deleted_internal_commands = changed_items('D', "Library/Homebrew/cmd")
@installed_formulae = HOMEBREW_CELLAR.children.
select{ |pn| pn.directory? }.
......
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