Merge pull request #11997 from kurtraschke/patch-1
Replace two calls to undefined silent_command! in FossilDownloadStrategy with command!
This commit is contained in:
commit
33a930ba5a
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user