Skip to content

Commit aec716f

Browse files
Tweak missing registry package warning message (#2884)
1 parent a32bedb commit aec716f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/REPLMode/REPLMode.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,9 +659,9 @@ function try_prompt_pkg_add(pkgs::Vector{Symbol})
659659
if isempty(ctx.registries)
660660
if !REG_WARNED[]
661661
printstyled(ctx.io, ""; color=:green)
662-
printstyled(ctx.io, "Attempted to search for missing packages in Pkg registries but no registries are installed.\n")
662+
printstyled(ctx.io, "Attempted to find missing packages in package registries but no registries are installed.\n")
663663
printstyled(ctx.io, ""; color=:green)
664-
printstyled(ctx.io, "Use Pkg mode to install a registry. Both `pkg> add` and `pkg> update` will install the default registries.\n\n")
664+
printstyled(ctx.io, "Use package mode to install a registry. `pkg> registry add` will install the default registries.\n\n")
665665
REG_WARNED[] = true
666666
end
667667
return false

0 commit comments

Comments
 (0)