outdated: output full name
Closes Homebrew/homebrew#41099. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
e04f115f8d
commit
c07f4ad737
@ -50,7 +50,7 @@ module Homebrew
|
|||||||
def print_outdated_json(formulae)
|
def print_outdated_json(formulae)
|
||||||
json = []
|
json = []
|
||||||
outdated = outdated_brews(formulae) do |f, versions|
|
outdated = outdated_brews(formulae) do |f, versions|
|
||||||
json << {:name => f.name,
|
json << {:name => f.full_name,
|
||||||
:installed_versions => versions.collect(&:to_s),
|
:installed_versions => versions.collect(&:to_s),
|
||||||
:current_version => f.pkg_version.to_s}
|
:current_version => f.pkg_version.to_s}
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user