mirror of
https://github.com/gosticks/brew.git
synced 2026-12-04 11:41:45 +00:00
Merge pull request #8308 from reitermarkus/shutup
Reinstate `#shutup!`.
This commit is contained in:
@@ -38,6 +38,11 @@ class AbstractDownloadStrategy
|
||||
# Download and cache the resource as {#cached_location}.
|
||||
def fetch; end
|
||||
|
||||
# TODO: Deprecate once we have an explicitly documented alternative.
|
||||
def shutup!
|
||||
@quiet = true
|
||||
end
|
||||
|
||||
def puts(*args)
|
||||
super(*args) unless quiet?
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user