From e6b0d7fcf63cebbb68c8882ffc867cf65a006dbb Mon Sep 17 00:00:00 2001 From: daychongyang Date: Tue, 26 May 2020 14:15:08 +0800 Subject: [PATCH] fix: dotenv debug option --- src/node/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/config.ts b/src/node/config.ts index 03cf4c2f3b0ba7..eebd7950249bd5 100644 --- a/src/node/config.ts +++ b/src/node/config.ts @@ -429,7 +429,7 @@ function loadEnv(mode: string, root: string): Record { 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) {