upgrade: style fixes

This commit is contained in:
L. E. Segovia 2019-08-23 01:51:06 +00:00
parent efb200e825
commit b3a1f34b7b
No known key found for this signature in database
GPG Key ID: D5D1DC48B52B7AD5

View File

@ -234,6 +234,7 @@ module Homebrew
dependent_formulae.each do |f|
next if formulae_to_upgrade.include?(f)
next if formulae_pinned.include?(f)
if f.outdated?(fetch_head: args.fetch_HEAD?)
if f.pinned?
formulae_pinned << f