Skip to content

Commit 46e14ef

Browse files
authored
Merge pull request #43 from lgoettgens/lg/JET-ca_roots-path_convert
Fix JET-reported error in `ca_roots_path()`
1 parent 532992f commit 46e14ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ca_roots.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ of these variables that is set (whether the path exists or not). If
2121
are ignored (as if unset); if the other variables are set to the empty string,
2222
they behave is if they are not set.
2323
"""
24-
ca_roots()::Union{Nothing,String} = _ca_roots(true)
24+
ca_roots() = _ca_roots(true)::Union{Nothing,String}
2525

2626
"""
2727
ca_roots_path() :: String
@@ -48,7 +48,7 @@ of these variables that is set (whether the path exists or not). If
4848
are ignored (as if unset); if the other variables are set to the empty string,
4949
they behave is if they are not set.
5050
"""
51-
ca_roots_path()::String = _ca_roots(false)
51+
ca_roots_path() = _ca_roots(false)::String
5252

5353
# NOTE: this has to be a function not a constant since the
5454
# value of Sys.BINDIR changes from build time to run time.

0 commit comments

Comments
 (0)