Unverified Commit 7380f20c authored by Adrien MILLE's avatar Adrien MILLE Committed by GitHub

Forward log argument from loadEnvConfig to processEnv (#22440)

We do have a third argument on `processEnv` to customize the console instance, however `processEnv` relies on `processEnv` which also have the same argument for the same purpose but it's not forwarded from `processEnv`. 

Was there a purpose for it to be left out ? If not I would expect it to be forwarded 😄 

Closes: https://github.com/vercel/next.js/pull/21788
parent b1a1c80e
...@@ -112,6 +112,6 @@ export function loadEnvConfig( ...@@ -112,6 +112,6 @@ export function loadEnvConfig(
} }
} }
} }
combinedEnv = processEnv(cachedLoadedEnvFiles, dir) combinedEnv = processEnv(cachedLoadedEnvFiles, dir, log)
return { combinedEnv, loadedEnvFiles: cachedLoadedEnvFiles } return { combinedEnv, loadedEnvFiles: cachedLoadedEnvFiles }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment