Update Library/Homebrew/dev-cmd/bump.rb

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Baffour Adu Boampong 2020-08-11 15:29:05 +00:00 committed by GitHub
parent eea32b955b
commit 22a1da1e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ module Homebrew
def display(formulae)
puts
formulae.each do |formula, package_details|
title = (up_to_date?(package_details) ? formula + " is up to date!" : formula).to_s
title = (up_to_date?(package_details) ? "#{formula} is up to date!" : formula).to_s
ohai title
puts "Current formula version: #{package_details[:current_formula_version]}"
puts "Latest Repology version: #{package_details[:repology_latest_version] || "Not found"}"