Skip to content

Commit 84f96c0

Browse files
committed
update download function
1 parent 507d677 commit 84f96c0

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/io/download.jl

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,8 @@ function datafile(depname, filename, dir = nothing; recurse = true, kw...)
4444
end::String
4545
end
4646

47-
function download_dep(depname,
48-
dir = DataDeps.determine_save_path(depname);
49-
i_accept_the_terms_of_use = nothing)
50-
with_accept(i_accept_the_terms_of_use) do
51-
DataDeps.download(DataDeps.registry[depname], dir)
52-
nothing
53-
end
47+
function download_dep(depname, dir = DataDeps.determine_save_path(depname); kw...)
48+
DataDeps.download(DataDeps.registry[depname], dir; kw...)
5449
end
5550

5651
function download_docstring(modname, depname)

0 commit comments

Comments
 (0)