mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
fix(lint): packages, helpers, common
This commit is contained in:
@@ -208,6 +208,11 @@ lib::error::throw()
|
||||
logger::log()
|
||||
{
|
||||
local level=$1
|
||||
if [[ -z "${LOG_LEVELS[$level]:-}" ]]; then
|
||||
lib::error "Invalid log level: $level"
|
||||
return 1
|
||||
fi
|
||||
|
||||
shift
|
||||
local msg=$1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user