diff --git a/index.js b/index.js index 96aecb5..f7bd937 100644 --- a/index.js +++ b/index.js @@ -46,7 +46,7 @@ module.exports = { let allowedKeys = options.clientAllowedKeys || []; - allowedKeys.map(key => { + allowedKeys.forEach(key => { if (loadedConfig.parsed[key] === undefined) { let errMsg = '[ember-cli-dotenv]: Required environment variable \'' + key + '\' is missing.'; if (options.failOnMissingKey) {