developer/bin/find-appcast: fix RuboCop style.

See https://github.com/Homebrew/brew/pull/7867.
This commit is contained in:
Mike McQuaid
2020-07-27 12:57:57 +01:00
parent 53f64b8ff7
commit 20603e0569
+8 -8
View File
@@ -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