diff --git a/base/loading.jl b/base/loading.jl index 86cad6f2ed94d..504f11e03224d 100644 --- a/base/loading.jl +++ b/base/loading.jl @@ -2547,7 +2547,7 @@ function require_stdlib(uuidkey::PkgId, ext::Union{Nothing, String}=nothing) run_package_callbacks(uuidkey) else # if the user deleted their bundled depot, next try to load it completely normally - newm = _require(uuidkey) + newm = _require_prelocked(uuidkey) end return newm end