console.log dotenv 2

This commit is contained in:
andres alcocer
2022-02-08 18:42:08 -05:00
parent ea587b0073
commit 0be7646158

View File

@@ -9,7 +9,7 @@ var path = require('path')
module.exports = () => { module.exports = () => {
// call dotenv and it will return an Object with a parsed key // call dotenv and it will return an Object with a parsed key
const env = dotenv.config().parsed const env = dotenv.config().parsed
console.log('env------', dotenv.config().parsed) console.log('env------', dotenv.config())
// reduce env variables to an oject // reduce env variables to an oject
const envKeys = Object.keys(env).reduce((prev, next) => { const envKeys = Object.keys(env).reduce((prev, next) => {