Skip to content

Commit 387b385

Browse files
IanButterworthKeno
andcommitted
Update stdlib/REPL/src/REPL.jl
Co-authored-by: Keno Fischer <[email protected]>
1 parent 2191b46 commit 387b385

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/REPL/src/REPL.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,6 +1586,7 @@ function run_frontend(repl::StreamREPL, backend::REPLBackendRef)
15861586
end
15871587

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

0 commit comments

Comments
 (0)