mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Reinstate #shutup!
.
This commit is contained in:
parent
3eba477b7c
commit
a19a0917b1
@ -38,6 +38,11 @@ class AbstractDownloadStrategy
|
|||||||
# Download and cache the resource as {#cached_location}.
|
# Download and cache the resource as {#cached_location}.
|
||||||
def fetch; end
|
def fetch; end
|
||||||
|
|
||||||
|
# TODO: Deprecate once we have an explicitly documented alternative.
|
||||||
|
def shutup!
|
||||||
|
@quiet = true
|
||||||
|
end
|
||||||
|
|
||||||
def puts(*args)
|
def puts(*args)
|
||||||
super(*args) unless quiet?
|
super(*args) unless quiet?
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user