diff --git a/src/persistent_tasks.jl b/src/persistent_tasks.jl index db6ea5ac..85092d1b 100644 --- a/src/persistent_tasks.jl +++ b/src/persistent_tasks.jl @@ -121,7 +121,7 @@ function precompile_wrapper(project, tmax) if VERSION < v"1.10.0-" return true end - prev_project = Base.active_project() + prev_project = Base.active_project()::String isdefined(Pkg, :respect_sysimage_versions) && Pkg.respect_sysimage_versions(false) try pkgdir = dirname(project)