fixed printf call in error and warning
This commit is contained in:
parent
76d492ccae
commit
62ade94f0f
4
rtenets
4
rtenets
|
@ -48,13 +48,13 @@ readonly MANDATORY_FILES=("README.md"
|
|||
|
||||
# Print error and exit
|
||||
error() {
|
||||
printf "${RED}error${NC}: %s\\n" "$@" 1>&2
|
||||
printf "${RED}error${NC}: %b\\n" "$@" 1>&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Print warning
|
||||
warning() {
|
||||
printf "${ORANGE}warning${NC}: %s\\n" "$@" 1>&2
|
||||
printf "${ORANGE}warning${NC}: %b\\n" "$@" 1>&2
|
||||
}
|
||||
|
||||
# Print info
|
||||
|
|
Loading…
Reference in New Issue