aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/fetch.rb
diff options
context:
space:
mode:
authorAndrew Janke2016-03-13 06:06:39 -0400
committerXu Cheng2016-03-14 19:39:15 +0800
commita74e872409d0c8a16ff806a52e76adcefcf2c4da (patch)
treecff5a66106dacbdc282b63f243a3c53c773705d7 /Library/Homebrew/cmd/fetch.rb
parent236a18debe51e815f2d81a43d2151c500555abf9 (diff)
downloadbrew-a74e872409d0c8a16ff806a52e76adcefcf2c4da.tar.bz2
brew fetch: only include sha256 in output
Closes Homebrew/homebrew#50067. Signed-off-by: Andrew Janke <andrew@apjanke.net>
Diffstat (limited to 'Library/Homebrew/cmd/fetch.rb')
-rw-r--r--Library/Homebrew/cmd/fetch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/fetch.rb b/Library/Homebrew/cmd/fetch.rb
index fabe268e5..6e7f71a15 100644
--- a/Library/Homebrew/cmd/fetch.rb
+++ b/Library/Homebrew/cmd/fetch.rb
@@ -100,7 +100,7 @@ module Homebrew
return unless download.file?
puts "Downloaded to: #{download}" unless already_fetched
- puts Checksum::TYPES.map { |t| "#{t.to_s.upcase}: #{download.send(t)}" }
+ puts "SHA256: #{download.sha256}"
f.verify_download_integrity(download)
end