From 5743b9d5dc63874eefacaaf640ee761596faa402 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Wed, 11 May 2022 21:25:36 -0400 Subject: [PATCH] Fix misnamed variable --- lib/tests/formulae.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 " \