From 60b70c993127c79f0cc7532ce159902d39f1aa5d Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Sat, 20 Jun 2015 22:33:00 +0800 Subject: [PATCH] download_strategy: remove extra colon Closes Homebrew/homebrew#40920. Signed-off-by: Xu Cheng --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 1b84a2422d..5407c77d5b 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -273,7 +273,7 @@ class CurlDownloadStrategy < AbstractFileDownloadStrategy unless cached_location.exist? urls = actual_urls unless urls.empty? - ohai "Downloading from: #{urls.last}" + ohai "Downloading from #{urls.last}" if !ENV["HOMEBREW_NO_INSECURE_REDIRECT"].nil? && @url.start_with?("https://") && urls.any? { |u| !u.start_with? "https://" } raise "HTTPS to HTTP redirect detected & HOMEBREW_NO_INSECURE_REDIRECT is set."