Skip to content

Commit 9c657e9

Browse files
committed
Improve deprecation message formatting
1 parent f8f97f8 commit 9c657e9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/main/bash/sdkman-utils.sh

+5-3
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,13 @@ function __sdkman_echo_confirm() {
112112
}
113113

114114
function __sdkman_deprecation_notice() {
115-
local message="[Deprecation Notice]:
115+
local message="
116+
[Deprecation Notice]:
117+
116118
This legacy '$1' command is replaced by a native implementation
117119
and it will be removed in a future release.
118-
Learn more at https://sdkman.io/native
119-
"
120+
121+
Learn more at https://sdkman.io/native"
120122

121123
if [[ "$sdkman_colour_enable" == 'false' ]]; then
122124
__sdkman_echo_no_colour "$message"

0 commit comments

Comments
 (0)