Pass args.verbose? to Bintray.

This commit is contained in:
Markus Reiter
2020-08-06 16:12:52 +02:00
parent 51ff5eb401
commit 2dce2ace2c
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ module Homebrew
bintray_org = args.bintray_org || "homebrew"
bintray_repo = args.bintray_repo || "mirror"
bintray = Bintray.new(org: bintray_org)
bintray = Bintray.new(org: bintray_org, verbose: args.verbose?)
args.formulae.each do |formula|
mirror_url = bintray.mirror_formula(formula, repo: bintray_repo, publish_package: !args.no_publish?)
+1 -1
View File
@@ -49,7 +49,7 @@ module Homebrew
args = pr_upload_args.parse
bintray_org = args.bintray_org || "homebrew"
bintray = Bintray.new(org: bintray_org)
bintray = Bintray.new(org: bintray_org, verbose: args.verbose?)
json_files = Dir["*.json"]
odie "No JSON files found in the current working directory" if json_files.empty?