mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-04-23 16:43:03 -04:00
Revert sdkman-use.sh to upstream/master
This commit is contained in:
committed by
Marco Vermeulen
parent
ffb9787124
commit
e2fdf6bd44
@@ -26,7 +26,11 @@ function __sdk_use() {
|
||||
|
||||
if [[ ! -d "${SDKMAN_CANDIDATES_DIR}/${candidate}/${version}" ]]; then
|
||||
echo ""
|
||||
__sdkman_echo_red "Stop! ${candidate} ${version} is not installed."
|
||||
__sdkman_echo_red "Stop! Candidate version is not installed."
|
||||
echo ""
|
||||
__sdkman_echo_yellow "Tip: Run the following to install this version"
|
||||
echo ""
|
||||
__sdkman_echo_yellow "$ sdk install ${candidate} ${version}"
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user