Skip to content

Commit c320fef

Browse files
author
Oliver Weiler
authored
Forgo all checks when running __sdk_completion (#913)
* Forgo all checks when running __sdk_completion * Remove accidentally duplicated code
1 parent c04c8bf commit c320fef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/bash/sdkman-main.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ function sdk() {
6565
return $?
6666
fi
6767

68+
if [[ "$COMMAND" == "completion" ]]; then
69+
__sdk_completion "$QUALIFIER"
70+
return $?
71+
fi
72+
6873
#
6974
# Various sanity checks and default settings
7075
#

0 commit comments

Comments
 (0)