Skip to content

Commit

Permalink
Fix misnamed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
samford committed May 12, 2022
1 parent 6e5b9db commit 5743b9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tests/formulae.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 " \
Expand Down

0 comments on commit 5743b9d

Please sign in to comment.