From e3e514144c5516fb5a992bfa8692a955158036a9 Mon Sep 17 00:00:00 2001
From: Markus Reiter <me@reitermark.us>
Date: Sat, 23 Nov 2019 17:25:10 +0100
Subject: [PATCH] Show appcast contents if it doesn't contain the version.

---
 Library/Homebrew/cask/audit.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Library/Homebrew/cask/audit.rb b/Library/Homebrew/cask/audit.rb
index f97d3cab17..ab571db636 100644
--- a/Library/Homebrew/cask/audit.rb
+++ b/Library/Homebrew/cask/audit.rb
@@ -317,7 +317,7 @@ module Cask
       return if appcast_contents.include? adjusted_version_stanza
 
       add_warning "appcast at URL '#{appcast_stanza}' does not contain"\
-                  " the version number: '#{adjusted_version_stanza}'"
+                  " the version number '#{adjusted_version_stanza}':\n#{appcast_contents}"
     rescue
       add_error "appcast at URL '#{appcast_stanza}' offline or looping"
     end
-- 
GitLab