Skip to content

Commit 280f6d8

Browse files
Update src/Prefix.jl
Co-authored-by: Ian Butterworth <[email protected]>
1 parent 85cc653 commit 280f6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Prefix.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ end
618618
function Pkg_add(ctx::Pkg.Types.Context, rest...; kwargs...)
619619
@static if VERSION >= v"1.13-"
620620
# No need to pass the context anymore.
621-
_Pkg_add(rest...; kwargs...)
621+
_Pkg_add(rest...; julia_version = ctx.julia_version, kwargs...)
622622
else
623623
_Pkg_add(ctx, rest...; kwargs...)
624624
end

0 commit comments

Comments
 (0)