From d6e8671817ede102bc5c2d635fe32849bc0aadf9 Mon Sep 17 00:00:00 2001 From: Simeon David Schaub Date: Wed, 25 Dec 2024 18:22:23 +0100 Subject: [PATCH] fix precompilation error printing if `CI` is set I wasn't really sure how best to test this, any ideas? --- base/precompilation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/precompilation.jl b/base/precompilation.jl index f61169c6ca16d..5f3e65fcdece7 100644 --- a/base/precompilation.jl +++ b/base/precompilation.jl @@ -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`")