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:
parent
5c602003f2
commit
f05f3ad345
@ -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