Merge pull request #368 from Brikaa/env-val-bug

Fix env_val bug
This commit is contained in:
Thomas Hobson 2021-10-13 06:40:53 +13:00 committed by GitHub
commit 6b2a5a9d33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;