fix: typo

main
Jef Roosens 2022-12-28 16:44:02 +01:00
parent d705dc0ec1
commit 10462919e8
1 changed files with 1 additions and 1 deletions

2
conf.v
View File

@ -98,7 +98,7 @@ pub fn load<T>(conf LoadConfig) !T {
has_value[field.name] = true 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.") 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.")
} }
} }