Improve 1.11 compat
This commit is contained in:
parent
0244858177
commit
e2af89fef1
|
@ -27,7 +27,11 @@ const STACK_SPEC = Pkg.REPLMode.CommandSpec(
|
|||
Stack another environment.
|
||||
""",
|
||||
description = "Stack another environment",
|
||||
completions = Pkg.REPLMode.complete_activate,
|
||||
completions = if VERSION < v"1.11-DEV.0"
|
||||
Pkg.REPLMode.complete_activate
|
||||
else
|
||||
Pkg.REPLMode.get_complete_function(:complete_activate)
|
||||
end,
|
||||
should_splat = false,
|
||||
arg_count = 0 => Inf)
|
||||
|
||||
|
|
Loading…
Reference in New Issue