Skip to content

Commit 6f6cae8

Browse files
KristofferCKristofferC
authored andcommitted
also check that UUID of project is non-null when treating it as a package (#53789)
Fixes #53788 (cherry picked from commit 3e37e17)
1 parent 0a7a95c commit 6f6cae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/precompilation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ function ExplicitEnv(envpath::String=Base.active_project())
171171
sizehint!(weakdeps_expanded, length(deps))
172172
sizehint!(extensions_expanded, length(deps))
173173

174-
if proj_name !== nothing
174+
if proj_name !== nothing && proj_uuid !== nothing
175175
deps_expanded[proj_uuid] = filter!(!=(proj_uuid), collect(values(project_deps)))
176176
extensions_expanded[proj_uuid] = project_extensions
177177
path = get(project_d, "path", nothing)

0 commit comments

Comments
 (0)