Skip to content

Commit

Permalink
Artifacts: use a different way of getting the UUID of a module (#55218)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Jul 23, 2024
1 parent fc17b14 commit 59074fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stdlib/Artifacts/src/Artifacts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,10 @@ function jointail(dir, tail)
end

function _artifact_str(__module__, artifacts_toml, name, path_tail, artifact_dict, hash, platform, @nospecialize(lazyartifacts))
moduleroot = Base.moduleroot(__module__)
if haskey(Base.module_keys, moduleroot)
pkg = Base.PkgId(__module__)
if pkg.uuid !== nothing
# Process overrides for this UUID, if we know what it is
process_overrides(artifact_dict, Base.module_keys[moduleroot].uuid)
process_overrides(artifact_dict, pkg.uuid)
end

# If the artifact exists, we're in the happy path and we can immediately
Expand Down

0 comments on commit 59074fa

Please sign in to comment.