pr-pull,upload: don't quote passed --committer value

This commit is contained in:
Dawid Dziurla 2021-04-02 00:17:43 +02:00
parent 2572fa9272
commit 82b71b7a02
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B
2 changed files with 2 additions and 2 deletions

View File

@ -435,7 +435,7 @@ module Homebrew
upload_args << "--dry-run" if args.dry_run?
upload_args << "--keep-old" if args.keep_old?
upload_args << "--warn-on-upload-failure" if args.warn_on_upload_failure?
upload_args << "--committer='#{args.committer}'" if args.committer
upload_args << "--committer=#{args.committer}" if args.committer
upload_args << "--root-url=#{args.root_url}" if args.root_url
upload_args << if archive_item.present?
"--archive-item=#{archive_item}"

View File

@ -105,7 +105,7 @@ module Homebrew
bottle_args << "--debug" if args.debug?
bottle_args << "--keep-old" if args.keep_old?
bottle_args << "--root-url=#{args.root_url}" if args.root_url
bottle_args << "--committer='#{args.committer}'" if args.committer
bottle_args << "--committer=#{args.committer}" if args.committer
bottle_args << "--no-commit" if args.no_commit?
bottle_args += json_files