Merge pull request #2369 from MikeMcQuaid/update-migrated-not-deleted

update-report: migrated formulae were not deleted.
This commit is contained in:
Mike McQuaid 2017-03-21 14:39:54 +01:00 committed by GitHub
commit 84ec045ff6

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)