From f997557c3f089d847d990104afdab22e8984c82a Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Sun, 5 Mar 2023 10:05:06 -0500 Subject: [PATCH] livecheck: Skip #preprocess_url for new strategies I forgot to add the new `Json`, `Xml`, and `Yaml` strategies to the list of strategies where `#preprocess_url` should be skipped and this was causing issues for a user in their tap. This is unfortunately another bug that wasn't surfaced when I tested all the related checks in our first-party taps. --- Library/Homebrew/livecheck/livecheck.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/livecheck/livecheck.rb b/Library/Homebrew/livecheck/livecheck.rb index 07c436f3a5..8c52631b10 100644 --- a/Library/Homebrew/livecheck/livecheck.rb +++ b/Library/Homebrew/livecheck/livecheck.rb @@ -35,9 +35,12 @@ module Homebrew STRATEGY_SYMBOLS_TO_SKIP_PREPROCESS_URL = [ :extract_plist, :github_latest, - :page_match, :header_match, + :json, + :page_match, :sparkle, + :xml, + :yaml, ].freeze UNSTABLE_VERSION_KEYWORDS = %w[