Skip to content

Commit

Permalink
fix precompilation error printing if CI is set
Browse files Browse the repository at this point in the history
I wasn't really sure how best to test this, any ideas?
  • Loading branch information
simeonschaub authored Dec 25, 2024
1 parent cab11bb commit d6e8671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/precompilation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ function _precompilepkgs(pkgs::Vector{String},
direct = strict ? "" : "direct "
err_msg = "The following $n_direct_errs $(direct)dependenc$(pluralde) failed to precompile:\n$(String(take!(err_str)))"
if internal_call # aka. auto-precompilation
if isinteractive() && !get(ENV, "CI", false)
if isinteractive() && !parse(Bool, get(ENV, "CI", "false"))
plural1 = length(failed_deps) == 1 ? "y" : "ies"
println(io, " ", color_string("$(length(failed_deps))", Base.error_color()), " dependenc$(plural1) errored.")
println(io, " For a report of the errors see `julia> err`. To retry use `pkg> precompile`")
Expand Down

0 comments on commit d6e8671

Please sign in to comment.