Skip to content

Commit 010736e

Browse files
committed
Simplify parameter propagation in the main sdk function.
1 parent 00538c2 commit 010736e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/bash/sdkman-main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function sdk() {
146146
local converted_command_name=$(echo "$COMMAND" | tr '-' '_')
147147

148148
# Available as a shell function
149-
__sdk_"$converted_command_name" "$QUALIFIER" "$3" "$4"
149+
__sdk_"$converted_command_name" "${@:2}"
150150
fi
151151
final_rc=$?
152152

0 commit comments

Comments
 (0)