From 9a7fbf568a15ce5f4e737f1ca219e68fd1ff1c6d Mon Sep 17 00:00:00 2001 From: KristofferC Date: Wed, 1 Jun 2022 14:27:03 +0200 Subject: [PATCH] remove usage of hardcoded stdlib list when `julia_version` == VERSION --- src/Operations.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Operations.jl b/src/Operations.jl index 6f31859cf6..c8f37bd964 100644 --- a/src/Operations.jl +++ b/src/Operations.jl @@ -431,7 +431,7 @@ function deps_graph(env::EnvCache, registries::Vector{Registry.RegistryInstance} # unregistered stdlib we must special-case it here. This is further # complicated by the fact that we can ask this question relative to # a Julia version. - if is_unregistered_stdlib(uuid) || uuid_is_stdlib + if (julia_version != VERSION && is_unregistered_stdlib(uuid)) || uuid_is_stdlib path = Types.stdlib_path(stdlibs_for_julia_version[uuid][1]) proj_file = projectfile_path(path; strict=true) @assert proj_file !== nothing