update-report: migrated formulae were not deleted.

The taps they were migrated to are auto-tapped if not already tapped
anyway so don't show them as deleted to avoid confusion.
This commit is contained in:
Mike McQuaid 2017-03-20 15:28:24 +02:00
parent 00af5250f0
commit ae43415fb4

View File

@ -361,7 +361,10 @@ class Reporter
case status
when "A", "D"
@report[status.to_sym] << tap.formula_file_to_name(src)
full_name = tap.formula_file_to_name(src)
name = full_name.split("/").last
new_tap = tap.tap_migrations[name]
@report[status.to_sym] << full_name unless new_tap
when "M"
begin
formula = Formulary.factory(tap.path/src)