🚨 (flatpak-sync) Solve some shellcheck warnings/errors

This commit is contained in:
Marcel Kapfer 2023-07-20 22:14:31 +02:00
parent e87d497ea7
commit 84d954816e
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
1 changed files with 4 additions and 2 deletions

View File

@ -16,11 +16,13 @@ ERR_COLOR="\033[1;31m"
NO_COLOR="\033[0m"
function info() {
printf "$APP_COLOR[$APP_NAME] $INFO_COLOR$1$NO_COLOR\n"
# shellcheck disable=SC2059
printf "${APP_COLOR}[$APP_NAME] $INFO_COLOR%s$NO_COLOR\n" "$1"
}
function error() {
printf "$APP_COLOR[$APP_NAME] $ERR_COLOR$1$NO_COLOR\n"
# shellcheck disable=SC2059
printf "${APP_COLOR}[$APP_NAME] $ERR_COLOR%s$NO_COLOR\n" "$1"
}
function usage() {