Skip to content

Commit

Permalink
Attempt to fix issue JuliaLang#2942
Browse files Browse the repository at this point in the history
  • Loading branch information
barche committed Jan 30, 2022
1 parent 6c8ec20 commit 40fee6b
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 @@ -426,7 +426,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 (is_unregistered_stdlib(uuid) || uuid_is_stdlib) && haskey(stdlibs(), uuid)
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 40fee6b

Please sign in to comment.