Skip to content

Commit

Permalink
rm empty! on install_packages_hooks (#3934)
Browse files Browse the repository at this point in the history
* rm empty! on install_packages_hooks

* check if in already
  • Loading branch information
IanButterworth authored Jul 4, 2024
1 parent 8c99679 commit 0e5835e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ext/REPLExt/REPLExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,9 @@ function __init__()
end
end
end
push!(empty!(REPL.install_packages_hooks), try_prompt_pkg_add)
if !in(try_prompt_pkg_add, REPL.install_packages_hooks)
push!(REPL.install_packages_hooks, try_prompt_pkg_add)
end
end

include("precompile.jl")
Expand Down

0 comments on commit 0e5835e

Please sign in to comment.