Revert sdkman-use.sh to upstream/master

This commit is contained in:
helpermethod
2021-03-30 11:01:13 +02:00
committed by Marco Vermeulen
parent ffb9787124
commit e2fdf6bd44

View File

@@ -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