Skip to content

Commit

Permalink
Even more debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
timcosgrove committed Sep 30, 2024
1 parent f9c7a97 commit 422d50c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/env-loader/src/env-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ import dotenvExpand from 'dotenv-expand'
import { EnvVars } from '.'

const loadEnvVarsFromPath = (path: string): EnvVars => {
let envVars = {}
const envVars = {}
// eslint-disable-next-line no-console
console.log(`trying to load vars from ${path}`)
dotenvExpand.expand(
dotenv.config({
path,
path: path,
override: true,
processEnv: envVars,
debug: true,
})
)

Expand Down

0 comments on commit 422d50c

Please sign in to comment.