Skip to content

Commit ccaaece

Browse files
committed
Fix syntax to work on Julia 1.6
1 parent 5e39911 commit ccaaece

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/xcode.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ function _is_xcode_clt_and_is_gte_xcode_15()
4545
ver_int = tryparse(Int, str)
4646
(ver_int isa Int) && return ver_int
4747

48-
(; b, ver) = _is_xcode_clt()
49-
if b
50-
return ver >= v"15"
48+
result = _is_xcode_clt()
49+
if result.b
50+
return result.ver >= v"15"
5151
else
5252
return false
5353
end

0 commit comments

Comments
 (0)