mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-07 18:56:26 +02:00
commit
6b2a5a9d33
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue