Skip to content

Commit

Permalink
also check that UUID of project is non-null when treating it as a pac…
Browse files Browse the repository at this point in the history
…kage (#53789)

Fixes #53788
  • Loading branch information
KristofferC committed Mar 22, 2024
1 parent 9145571 commit 3e37e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/precompilation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function ExplicitEnv(envpath::String=Base.active_project())
sizehint!(weakdeps_expanded, length(deps))
sizehint!(extensions_expanded, length(deps))

if proj_name !== nothing
if proj_name !== nothing && proj_uuid !== nothing
deps_expanded[proj_uuid] = filter!(!=(proj_uuid), collect(values(project_deps)))
extensions_expanded[proj_uuid] = project_extensions
path = get(project_d, "path", nothing)
Expand Down

0 comments on commit 3e37e17

Please sign in to comment.