repair variable

This commit is contained in:
hyuraku 2023-04-12 22:23:08 +09:00
parent acca57a2d8
commit b8f18309c3

View File

@ -268,11 +268,11 @@ module Homebrew
only: args.only,
except: args.except,
)
[cask.sourcefile_path, errors]
[cask.sourcefile_path, { errors: errors, warnings: [] }]
end
end
failed_casks = cask_results.reject { |_, errors| errors.empty? }
failed_casks = cask_results.reject { |_, result| result[:errors].empty? }
cask_count = failed_casks.count