From f05f3ad3453eb3baf602d3db5f278190aba027fc Mon Sep 17 00:00:00 2001 From: Kurt Raschke Date: Wed, 8 Sep 2021 00:09:31 -0400 Subject: [PATCH] Replace two calls to undefined silent_command! in FossilDownloadStrategy with command! `FossilDownloadStrategy` attempts to call `silent_command!` in two places; this does not exist. --- Library/Homebrew/download_strategy.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index e09bbc73f2..6af7a96693 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -1316,12 +1316,12 @@ class FossilDownloadStrategy < VCSDownloadStrategy sig { params(timeout: T.nilable(Time)).void } def clone_repo(timeout: nil) - silent_command! "fossil", args: ["clone", @url, cached_location], timeout: timeout&.remaining + command! "fossil", args: ["clone", @url, cached_location], timeout: timeout&.remaining end sig { params(timeout: T.nilable(Time)).void } def update(timeout: nil) - silent_command! "fossil", args: ["pull", "-R", cached_location], timeout: timeout&.remaining + command! "fossil", args: ["pull", "-R", cached_location], timeout: timeout&.remaining end end