Skip to content

Commit

Permalink
style(main script) remove useless quotes
Browse files Browse the repository at this point in the history
Addresses shellcheck SC2027
  • Loading branch information
Antiz96 committed Jul 4, 2024
1 parent 09c521b commit 1127fcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/script/arch-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,13 @@ ask_msg() {
# Definition of the warning_msg function: Display a message as a warning message
warning_msg() {
msg="${1}"
echo -e "${yellow}==> "$(eval_gettext "WARNING")":${color_off}${bold} ${msg}${color_off}"
echo -e "${yellow}==> $(eval_gettext "WARNING"):${color_off}${bold} ${msg}${color_off}"
}

# Definition of the error_msg function: Display a message as an error message
error_msg() {
msg="${1}"
echo -e >&2 "${red}==> "$(eval_gettext "ERROR")":${color_off}${bold} ${msg}${color_off}"
echo -e >&2 "${red}==> $(eval_gettext "ERROR"):${color_off}${bold} ${msg}${color_off}"
}

# Definition of the continue_msg function: Display the continue message
Expand Down

0 comments on commit 1127fcb

Please sign in to comment.