fix: typo
parent
d705dc0ec1
commit
10462919e8
2
conf.v
2
conf.v
|
@ -98,7 +98,7 @@ pub fn load<T>(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.")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue