Merge pull request #11997 from kurtraschke/patch-1

Replace two calls to undefined silent_command! in FossilDownloadStrategy with command!
This commit is contained in:
Mike McQuaid 2021-09-08 13:02:46 +01:00 committed by GitHub
commit 33a930ba5a
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 }
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