Fix env_val bug

This commit is contained in:
Brikaa 2021-10-10 22:01:26 +02:00
parent 90945d1621
commit afd71cc82d
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ options.forEach(option => {
const parsed_val = parser(env_val); const parsed_val = parser(env_val);
const value = parsed_val || option.default; const value = env_val === undefined ? option.default : parsed_val;
option.validators.for_each(validator => { option.validators.for_each(validator => {
let response = null; let response = null;