mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
developer/bin/find-appcast: fix RuboCop style.
See https://github.com/Homebrew/brew/pull/7867.
This commit is contained in:
@@ -71,17 +71,17 @@ def find_electron_builder(app)
|
||||
appcast.gsub(%r{(?<!:)/{2,}}, "/")
|
||||
end
|
||||
|
||||
unless verify_appcast("electron-builder", *possible_appcasts)
|
||||
warn <<~MESSAGE
|
||||
return if verify_appcast("electron-builder", *possible_appcasts)
|
||||
|
||||
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:
|
||||
warn <<~MESSAGE
|
||||
|
||||
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:
|
||||
|
||||
puts appcast_file.read
|
||||
end
|
||||
MESSAGE
|
||||
|
||||
puts appcast_file.read
|
||||
end
|
||||
|
||||
App = Pathname(ARGV[0]).freeze
|
||||
|
||||
Reference in New Issue
Block a user