From 28def587f04aa717096138cacfe0018cf110afd6 Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Wed, 22 Apr 2020 19:23:41 +0100 Subject: [PATCH] bintray: fix style --- Library/Homebrew/bintray.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/bintray.rb b/Library/Homebrew/bintray.rb index 050dbf10f3..330a927c8b 100644 --- a/Library/Homebrew/bintray.rb +++ b/Library/Homebrew/bintray.rb @@ -68,7 +68,8 @@ class Bintray begin open_api url, "--silent", "--output", "/dev/null", auth: false rescue ErrorDuringExecution => e - stderr = e.output.select { |type,| type == :stderr } + stderr = e.output + .select { |type,| type == :stderr } .map { |_, line| line } .join raise if e.status.exitstatus != 22 && !stderr.include?("404 Not Found") @@ -84,7 +85,8 @@ class Bintray begin curl "--silent", "--head", "--output", "/dev/null", url rescue ErrorDuringExecution => e - stderr = e.output.select { |type,| type == :stderr } + stderr = e.output + .select { |type,| type == :stderr } .map { |_, line| line } .join raise if e.status.exitstatus != 22 && !stderr.include?("404 Not Found")