Fixed issue with info[:meta] for resources
This commit is contained in:
parent
6daa22bc8e
commit
e718318eaf
@ -381,7 +381,7 @@ module Homebrew
|
||||
|
||||
info = {}
|
||||
info[:resource] = resource[:name]
|
||||
info[:livecheckable] = resource[:livecheckable]
|
||||
info[:meta] = { livecheckable: resource[:livecheckable], }
|
||||
info[:version] = {
|
||||
current: current_str,
|
||||
latest: latest_str,
|
||||
@ -508,7 +508,7 @@ module Homebrew
|
||||
package_or_resource_s += "#{Tty.blue}#{info[:formula] || info[:cask] || info[:resource]}#{Tty.reset}"
|
||||
package_or_resource_s += " (cask)" if ambiguous_cask && !check_resource
|
||||
package_or_resource_s += " (guessed)" if !info[:meta][:livecheckable] && !check_resource && verbose
|
||||
package_or_resource_s += " (livecheckable)" if check_resource && info[:livecheckable] && verbose
|
||||
package_or_resource_s += " (livecheckable)" if check_resource && info[:meta][:livecheckable] && verbose
|
||||
|
||||
current_s = if info[:version][:newer_than_upstream]
|
||||
"#{Tty.red}#{info[:version][:current]}#{Tty.reset}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user