File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ print_info() {
2222 # `%b` with "message" protects against format injection:
2323 # the string is treated as _data_, not a _format_.
2424 printf " %b" " ${FORMAT_ITALIC}${FORMAT_GREEN} "
25- printf " %b" " ${message} \n "
25+ printf " %b\n " " ${message} "
2626 printf " %b" " ${FORMAT_RESET} "
2727}
2828
@@ -35,7 +35,7 @@ print_warning() {
3535 # `%b` with "message" protects against format injection:
3636 # the string is treated as _data_, not a _format_.
3737 printf " %b" " ${FORMAT_ITALIC}${FORMAT_YELLOW} "
38- printf " %b" " ${message} \n "
38+ printf " %b\n " " ${message} "
3939 printf " %b" " ${FORMAT_RESET} "
4040}
4141
@@ -48,7 +48,7 @@ print_error() {
4848 # `%b` with "message" protects against format injection:
4949 # the string is treated as _data_, not a _format_.
5050 printf " %b" " ${FORMAT_ITALIC}${FORMAT_RED} "
51- printf " %b" " ${message} \n "
51+ printf " %b\n " " ${message} "
5252 printf " %b" " ${FORMAT_RESET} "
5353}
5454
You can’t perform that action at this time.
0 commit comments