Skip to content

Commit

Permalink
Cask audit: decompress appcast
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorgalvao committed Jun 18, 2019
1 parent b0183d3 commit 529e448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cask/audit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def check_appcast_contains_version
return if cask.appcast.configuration == :no_check

appcast_stanza = cask.appcast.to_s
appcast_contents, = curl_output("--location", "--max-time", "5", appcast_stanza)
appcast_contents, = curl_output("--compressed", "--location", "--max-time", "5", appcast_stanza)
version_stanza = cask.version.to_s
if cask.appcast.configuration.blank?
adjusted_version_stanza = version_stanza.split(",")[0].split("-")[0].split("_")[0]
Expand Down

0 comments on commit 529e448

Please sign in to comment.