Skip to content

Commit a882316

Browse files
Revert "add default registry if none provided during pkg install prompt (#2862)" (#2864)
1 parent 521cf11 commit a882316

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/REPLMode/REPLMode.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -655,10 +655,6 @@ const help = gen_help()
655655

656656
function try_prompt_pkg_add(pkgs::Vector{Symbol})
657657
ctx = Context()
658-
if isempty(ctx.registries)
659-
Registry.download_default_registries(ctx.io)
660-
ctx = Context()
661-
end
662658
available_uuids = [Types.registered_uuids(ctx.registries, String(pkg)) for pkg in pkgs] # vector of vectors
663659
available_pkgs = pkgs[isempty.(available_uuids) .== false]
664660
isempty(available_pkgs) && return false

0 commit comments

Comments
 (0)