Skip to content

Commit

Permalink
Update stdlib/REPL/src/REPL.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Keno Fischer <keno@alumni.harvard.edu>
  • Loading branch information
IanButterworth and Keno committed Mar 9, 2024
1 parent 2191b46 commit 387b385
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stdlib/REPL/src/REPL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1586,6 +1586,7 @@ function run_frontend(repl::StreamREPL, backend::REPLBackendRef)
end

function load_pkg()
Base.generating_output(true) && return nothing
pkgid = Base.PkgId(Base.UUID("44cfe95a-1eb2-52ea-b672-e2afdf69b78f"), "Pkg")
if Base.locate_package(pkgid) !== nothing # Only try load Pkg if we can find it
Pkg = Base.require(pkgid)
Expand Down

0 comments on commit 387b385

Please sign in to comment.