From ecd0cc5c6c26533883f8a21c9c47a10c39da4b94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20G=C3=B6ttgens?= Date: Wed, 20 Aug 2025 11:11:40 +0200 Subject: [PATCH] Fix JET-reported error in `ca_roots_path()` --- src/ca_roots.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ca_roots.jl b/src/ca_roots.jl index b198f3e..d6fedba 100644 --- a/src/ca_roots.jl +++ b/src/ca_roots.jl @@ -21,7 +21,7 @@ of these variables that is set (whether the path exists or not). If are ignored (as if unset); if the other variables are set to the empty string, they behave is if they are not set. """ -ca_roots()::Union{Nothing,String} = _ca_roots(true) +ca_roots() = _ca_roots(true)::Union{Nothing,String} """ ca_roots_path() :: String @@ -48,7 +48,7 @@ of these variables that is set (whether the path exists or not). If are ignored (as if unset); if the other variables are set to the empty string, they behave is if they are not set. """ -ca_roots_path()::String = _ca_roots(false) +ca_roots_path() = _ca_roots(false)::String # NOTE: this has to be a function not a constant since the # value of Sys.BINDIR changes from build time to run time.