mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-01-31 01:32:55 -05:00
Fix the issue that the "Outdated:" label is not displayed in some cases.
This commit is contained in:
@@ -46,7 +46,7 @@ function __gvmtool_outdated {
|
||||
;;
|
||||
*)
|
||||
if [ -n "${outdated}" ]; then
|
||||
[ ${installed_count} -eq 0 ] && echo "Outdated:"
|
||||
[ ${outdated_count} -eq 0 ] && echo "Outdated:"
|
||||
echo "${outdated}"
|
||||
(( outdated_count += 1 ))
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user