Skip to content
Snippets Groups Projects
Unverified Commit c798c3c5 authored by nandahkrishna's avatar nandahkrishna
Browse files

Fixed quiet for download_strategy

parent 20dde0b3
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ class AbstractDownloadStrategy
@version = version
@cache = meta.fetch(:cache, HOMEBREW_CACHE)
@meta = meta
@quiet = false
extend Pourable if meta[:bottle]
end
......@@ -55,6 +56,10 @@ class AbstractDownloadStrategy
@quiet = true
end
def quiet?
Context.current.quiet? || @quiet
end
# Unpack {#cached_location} into the current working directory, and possibly
# chdir into the newly-unpacked directory.
# Unlike {Resource#stage}, this does not take a block.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment