diff options
| author | Xu Cheng | 2015-06-20 22:33:00 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-06-21 01:47:09 +0800 |
| commit | 60b70c993127c79f0cc7532ce159902d39f1aa5d (patch) | |
| tree | 219584aeb53e39165496187a8ab83435f751a0bd /Library | |
| parent | 8ef8f0f6153269aa071044d9c6df13628846ee94 (diff) | |
| download | brew-60b70c993127c79f0cc7532ce159902d39f1aa5d.tar.bz2 | |
download_strategy: remove extra colon
Closes Homebrew/homebrew#40920.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 1b84a2422..5407c77d5 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." |
