Fix warning and error extension functions

This commit is contained in:
JeremyStar™ 2024-03-10 22:19:59 +01:00
parent bdf3057633
commit b4af1cb111

View file

@ -38,7 +38,7 @@ function warnh() {
} }
## Warning (extension) ## Warning (extension)
function warne() { function warne() {
echo -e "${BUILDTOOL_COLOR_WARN} : ${*}${BUILDTOOL_COLOR_RESET}" echo -e "${BUILDTOOL_COLOR_WARN} ${*}${BUILDTOOL_COLOR_RESET}"
} }
## Error (header) ## Error (header)
function errorh() { function errorh() {
@ -46,7 +46,7 @@ function errorh() {
} }
## Error (extension) ## Error (extension)
function errore() { function errore() {
echo -e "${BUILDTOOL_COLOR_ERROR} : ${*}${BUILDTOOL_COLOR_RESET}" echo -e "${BUILDTOOL_COLOR_ERROR} ${*}${BUILDTOOL_COLOR_RESET}"
} }
# Banner # Banner