From 93f95e32690ce499e5babf9062bfd9b1becec2af Mon Sep 17 00:00:00 2001 From: defnlnotme <187655089+defnlnotme@users.noreply.github.com> Date: Thu, 9 Oct 2025 06:23:16 +0200 Subject: [PATCH] fix active repl check fixes execution on julia 1.12 --- src/alert_repl.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alert_repl.jl b/src/alert_repl.jl index e4e0a51..834ff57 100644 --- a/src/alert_repl.jl +++ b/src/alert_repl.jl @@ -46,7 +46,7 @@ end function init_alert_REPL!() if VERSION >= v"1.5" - if isdefined(Base, :active_repl_backend) + if isdefined(Base, :active_repl_backend) && !isnothing(Base.active_repl_backend) pushfirst!(Base.active_repl_backend.ast_transforms, with_repl_alert) else pushfirst!(REPL.repl_ast_transforms, with_repl_alert)