Replace two calls to undefined silent_command! in FossilDownloadStrategy with command!

`FossilDownloadStrategy` attempts to call `silent_command!` in two places; this does not exist.
This commit is contained in:
Kurt Raschke 2021-09-08 00:09:31 -04:00 committed by GitHub
parent 5c602003f2
commit f05f3ad345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1316,12 +1316,12 @@ class FossilDownloadStrategy < VCSDownloadStrategy
sig { params(timeout: T.nilable(Time)).void } sig { params(timeout: T.nilable(Time)).void }
def clone_repo(timeout: nil) 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 end
sig { params(timeout: T.nilable(Time)).void } sig { params(timeout: T.nilable(Time)).void }
def update(timeout: nil) 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
end end