From c7c81f491a613a6fe968c445016ecf94bfb3fa5e Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Thu, 21 Sep 2023 11:53:52 -0400 Subject: [PATCH] add LOAD_PATH for fallback message --- base/client.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/client.jl b/base/client.jl index 858c64c05d060..c427f38aa412b 100644 --- a/base/client.jl +++ b/base/client.jl @@ -448,8 +448,8 @@ function run_main_repl(interactive::Bool, quiet::Bool, banner::Symbol, history_f end else # otherwise provide a simple fallback - if interactive && !quiet - @warn "REPL provider not available: using basic fallback" + if !fallback_repl && interactive && !quiet + @warn "REPL provider not available: using basic fallback" LOAD_PATH=join(Base.LOAD_PATH, Sys.iswindows() ? ';' : ':') end banner == :no || Base.banner(short=banner==:short) let input = stdin