find-appcast: provide contents on not-parse electron-builder appcast

This commit is contained in:
Vítor Galvão
2020-03-22 01:37:05 +00:00
parent 69e81b1929
commit 8f701d803c
+9 -2
View File
@@ -65,8 +65,15 @@ def find_electron_builder(app)
]
unless verify_appcast('electron-builder', *possible_appcasts)
puts ' An "app-update.yml" file was found, but we could not parse it.'
puts ' Please report this on https://github.com/Homebrew/homebrew-cask/'
warn <<~MESSAGE
An "app-update.yml" file was found, but we could not parse it.
Please report this on https://github.com/Homebrew/homebrew-cask/
Provide this info:
MESSAGE
puts appcast_file.read
end
end