Log if a variable isn't found

This commit is contained in:
Bryan Ashby 2020-07-06 21:14:31 -06:00
parent 60a1f14f6e
commit 992ee6056e
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 2 additions and 1 deletions

View File

@ -161,7 +161,8 @@ module.exports = class ConfigLoader {
let value = process.env[varName];
if (!value) {
return;
// console is about as good as we can do here
return console.info(`WARNING: environment variable "${varName}" from spec "${spec}" not found!`);
}
if ('array' === array) {