console.log dotenv

This commit is contained in:
andres alcocer
2022-02-08 18:40:49 -05:00
parent 0b76fb149b
commit ea587b0073

View File

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