Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit 910d235

Browse files
Eric ForgyEric Forgy
authored andcommitted
Make "retry" a keyword.
1 parent 34a0d8d commit 910d235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WinRPM.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function __init__()
4343
end
4444

4545
@unix_only download(source::AbstractString) = (x=HTTPC.get(source); (bytestring(x.body),x.http_code))
46-
@windows_only function download(source::AbstractString, retry = 5)
46+
@windows_only function download(source::AbstractString; retry = 5)
4747
filename = joinpath(dirname(@__FILE__),"..","cache",basename(source))
4848
for i in 1:retry
4949
run(BinDeps.download_cmd(source,filename))

0 commit comments

Comments
 (0)