Fix collection of unused_pyc_files.

This commit is contained in:
Carlo Cabrera 2022-08-31 16:04:21 +08:00
parent 0b48261f79
commit 155f4d7394
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -531,6 +531,7 @@ module Homebrew
unused_pyc_files += pyc_files.reject { |k,| seen_non_pyc_file[k] }
.values
.flatten
return if unused_pyc_files.blank?
unused_pyc_files.each do |pyc|