Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix not hardcoding "Project.toml" when fixing up extensions in manifest #3851

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ end
# about extensions
function fixup_ext!(env, pkgs)
for pkg in pkgs
v = joinpath(source_path(env.manifest_file, pkg), "Project.toml")
if haskey(env.manifest, pkg.uuid)
entry = env.manifest[pkg.uuid]
if isfile(v)
p = Types.read_project(v)
project_file = Base.locate_project_file(source_path(env.manifest_file, pkg))
if isfile(project_file)
p = Types.read_project(project_file)
entry.weakdeps = p.weakdeps
entry.exts = p.exts
for (name, _) in p.weakdeps
Expand Down