Skip to content

Commit

Permalink
Change warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonylouisbsb committed May 18, 2021
1 parent 21bdb06 commit cd938c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions format-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ exit_whit_error_message() {

show_warning_message() {
printf 'WARN: %s\n' "$1" >&2
exit 1
}

show_help() {
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit cd938c7

Please sign in to comment.