From 10462919e8648648d76323759b45528fbcaa0280 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Wed, 28 Dec 2022 16:44:02 +0100 Subject: [PATCH] fix: typo --- conf.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.v b/conf.v index 564f7e8..fdd0a6e 100644 --- a/conf.v +++ b/conf.v @@ -98,7 +98,7 @@ pub fn load(conf LoadConfig) !T { has_value[field.name] = true } - if !(has_values[field.name] or { false }) { + if !(has_value[field.name] or { false }) { return error("Missing config variable '$field.name' with no provided default. Either add it to the config file or provide it using an environment variable.") } }