Skip to content

Commit e1ee0a7

Browse files
authored
fix a typo trying to return a variable that does not exist (#2727)
1 parent 9f7eaa3 commit e1ee0a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Registry/Registry.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function pkg_server_registry_info()
6565
catch err
6666
@warn "could not download $server/registries" exception=err
6767
end
68-
download_ok || return registry_urls
68+
download_ok || return nothing
6969
open(tmp_path) do io
7070
for line in eachline(io)
7171
if (m = match(r"^/registry/([^/]+)/([^/]+)$", line)) !== nothing

0 commit comments

Comments
 (0)