diff --git a/lib/tests/formulae.rb b/lib/tests/formulae.rb index f520e411..de441671 100644 --- a/lib/tests/formulae.rb +++ b/lib/tests/formulae.rb @@ -254,8 +254,8 @@ def livecheck(formula) return if livecheck_info["version"]["newer_than_upstream"] != true - current_version = livecheck_json["version"]["current"] - latest_version = livecheck_json["version"]["latest"] + current_version = livecheck_info["version"]["current"] + latest_version = livecheck_info["version"]["latest"] newer_than_upstream_msg = if current_version.present? && latest_version.present? "The formula version (#{current_version}) is newer than the " \