From cd938c70212e05cd7ae023ea35420e0cdba02006 Mon Sep 17 00:00:00 2001 From: Anthony Louis Date: Tue, 18 May 2021 13:26:39 -0300 Subject: [PATCH] Change warning message --- format-code.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/format-code.sh b/format-code.sh index f29ee53..b50c4a3 100755 --- a/format-code.sh +++ b/format-code.sh @@ -7,7 +7,6 @@ exit_whit_error_message() { show_warning_message() { printf 'WARN: %s\n' "$1" >&2 - exit 1 } show_help() { @@ -67,7 +66,7 @@ while :; do show_warning_message 'It was not defined any option for the --jvm-flags' ;; -?*) - show_warning_message "Unknown option (ignored): $1\n" + show_warning_message "Unknown option (ignored): $1" ;; *) # Default case: No more options, so break out of the loop.