Skip to content

Commit

Permalink
precompile: show ext parent in output report (#3603)
Browse files Browse the repository at this point in the history
(cherry picked from commit b32db47)
  • Loading branch information
IanButterworth committed Aug 27, 2023
1 parent 71a77cb commit 8998ec7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/API.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,8 @@ function precompile(ctx::Context, pkgs::Vector{PackageSpec}; internal_call::Bool
else
join(split(strip(err), "\n"), color_string("\n", Base.warn_color()))
end
print(iostr, color_string("\n", Base.warn_color()), pkgid, color_string("\n", Base.warn_color()), err, color_string("\n", Base.warn_color()))
name = haskey(exts, pkgid) ? string(exts[pkgid], "", pkgid.name) : pkgid.name
print(iostr, color_string("\n", Base.warn_color()), name, color_string("\n", Base.warn_color()), err, color_string("\n", Base.warn_color()))
end
end
end
Expand Down

0 comments on commit 8998ec7

Please sign in to comment.