fix syntactical issues

This commit is contained in:
Elizabeth Tackett 2020-07-22 10:06:54 -05:00
parent 9ec93f78d6
commit 6d4bce4baa
2 changed files with 5 additions and 3 deletions

View File

@ -97,8 +97,8 @@ module Homebrew
end
def display(outdated_packages)
ohai "Outdated formulae\n"
ohai "Outdated formulae"
puts
outdated_packages.each do |formula, package_details|
ohai formula
puts "Current formula version: #{package_details[:current_formula_version]}"

View File

@ -671,7 +671,9 @@ module Homebrew
next if status.blank?
# these will result in uncommitted gems.
next if path == HOMEBREW_REPOSITORY && (ENV["HOMEBREW_SORBET"] || ENV["HOMEBREW_PATCHELF_RB"])
if path == HOMEBREW_REPOSITORY
next if ENV["HOMEBREW_SORBET"] || ENV["HOMEBREW_PATCHELF_RB"]
end
message ||= ""
message += "\n" unless message.empty?