add log_warning function to output warnings in yellow
All checks were successful
Nix Format Check / check-format (push) Successful in 38s

This commit is contained in:
Menno van Leeuwen 2025-01-15 11:48:47 +01:00
parent 4d20f2d7a6
commit 1db4d0c49b
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -28,6 +28,10 @@ log_error() {
echo -e "${RED}$1${NC}" >&2
}
log_warning() {
echo -e "${YELLOW}$1${NC}" >&2
}
die() {
log_error "$1"
exit 1