Skip to content

Commit

Permalink
Merge pull request #804 from samford/fix-livecheck-variable-name
Browse files Browse the repository at this point in the history
Fix misnamed variable
  • Loading branch information
Bo98 authored May 12, 2022
2 parents 6e5b9db + 5743b9d commit 21bf2c9
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 21bf2c9

Please sign in to comment.