diff --git a/source-configs.js b/source-configs.js index eb30f8a..8b87df8 100644 --- a/source-configs.js +++ b/source-configs.js @@ -223,7 +223,7 @@ function checkConfig (path, configObject, commandLineArgs, sources) { break } } else { - if (process.env[configObject.envVar]) { + if (Object.hasOwn(process.env, configObject.envVar)) { value = process.env[configObject.envVar] break }