Merge pull request #11145 from Bo98/json-tab-changed_files-fix
dev-cmd/bottle: fix INSTALL_RECEIPT appearing in changed_files
This commit is contained in:
		
						commit
						8853fb6c13
					
				@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user