dev-cmd/bottle: fix INSTALL_RECEIPT appearing in changed_files

This commit is contained in:
Bo Anderson 2021-04-14 21:19:04 +01:00
parent bc9b98aa0b
commit 6c687fd8ba
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -380,8 +380,9 @@ module Homebrew
tab.poured_from_bottle = false
tab.HEAD = nil
tab.time = nil
tab.changed_files = changed_files
tab.changed_files = changed_files.dup
if args.only_json_tab?
tab.changed_files.delete(Pathname.new(Tab::FILENAME))
tab.tabfile.unlink
else
tab.write