Skip to content

Commit

Permalink
fix: dotenv debug option (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
daychongyang authored May 26, 2020
1 parent 5435737 commit ca1b551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ function loadEnv(mode: string, root: string): Record<string, string> {
const path = lookupFile(root, [file], true)
if (path) {
const result = dotenv.config({
debug: !!process.env.DEBUG,
debug: !!process.env.DEBUG || undefined,
path
})
if (result.error) {
Expand Down

0 comments on commit ca1b551

Please sign in to comment.