@@ -425,9 +425,9 @@ function _precompilepkgs(pkgs::Vector{String},
425
425
# inverse map of `parent_to_ext` above (ext → parent)
426
426
ext_to_parent = Dict {Base.PkgId, Base.PkgId} ()
427
427
428
- function describe_pkg (pkg:: PkgId , is_direct_dep :: Bool , flags:: Cmd , cacheflags:: Base.CacheFlags )
428
+ function describe_pkg (pkg:: PkgId , is_project_dep :: Bool , flags:: Cmd , cacheflags:: Base.CacheFlags )
429
429
name = haskey (ext_to_parent, pkg) ? string (ext_to_parent[pkg]. name, " → " , pkg. name) : pkg. name
430
- name = is_direct_dep ? name : color_string (name, :light_black )
430
+ name = is_project_dep ? name : color_string (name, :light_black )
431
431
if nconfigs > 1 && ! isempty (flags)
432
432
config_str = join (flags, " " )
433
433
name *= color_string (" `$config_str `" , :light_black )
@@ -911,7 +911,7 @@ function _precompilepkgs(pkgs::Vector{String},
911
911
if err isa ErrorException || (err isa ArgumentError && startswith (err. msg, " Invalid header in cache file" ))
912
912
errmsg = String (take! (get (IOBuffer, std_outputs, pkg_config)))
913
913
delete! (std_outputs, pkg_config) # so it's not shown as warnings, given error report
914
- failed_deps[pkg_config] = (strict || is_direct_dep ) ? string (sprint (showerror, err), " \n " , strip (errmsg)) : " "
914
+ failed_deps[pkg_config] = (strict || is_project_dep ) ? string (sprint (showerror, err), " \n " , strip (errmsg)) : " "
915
915
! fancyprint && lock (print_lock) do
916
916
println (io, " " ^ 9 , color_string (" ✗ " , Base. error_color ()), name)
917
917
end
0 commit comments