Skip to content

Commit

Permalink
remove usage of hardcoded stdlib list when julia_version == VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Jun 1, 2022
1 parent c24c6e8 commit 9a7fbf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a7fbf5

Please sign in to comment.