Skip to content

Conversation

@IanButterworth
Copy link
Member

@IanButterworth IanButterworth commented May 11, 2022

#3038 broke the extended o prompt options

julia> using ProfileView
 │ Package ProfileView not found, but a package named ProfileView is available from a registry. 
 │ Install package?
 │   (Pkg) pkg> add ProfileView 
 └ Select environment:
   1: `~/Documents/GitHub/Pkg.jl/Project.toml` (@)
 > 2: `~/.julia/environments/v1.9/Project.toml` (@v#.#)
ERROR: UndefVarError: envs not defined
Stacktrace:
  [1] try_prompt_pkg_add(pkgs::Vector{Symbol})
    @ Pkg.REPLMode /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/Pkg/src/REPLMode/REPLMode.jl:747
...

Obviously that means the prompt needs better tests (#3083)

This PR just fixes the immediate issue

@IanButterworth IanButterworth merged commit dd7fbb2 into JuliaLang:master May 12, 2022
@IanButterworth IanButterworth deleted the ib/fix_add_prompt branch May 12, 2022 02:41
KristofferC pushed a commit that referenced this pull request May 24, 2022
@KristofferC KristofferC mentioned this pull request May 24, 2022
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants