We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7b5a82 commit e86e851Copy full SHA for e86e851
config/config.ts
@@ -23,9 +23,6 @@ import { config as configFromDotEnv } from "dotenv";
23
24
export function loadEnv(env: env, fromWorkerEnv: boolean): env {
25
const Env: env = {
26
- //if `fromWokerEnv` is true, then load from the `env` passed as argument to the function,
27
- // else if `fromWokerEnv` is false, load from process.env
28
- //(or set to '' if value from process.env is undefined) to avoid Error TS2322
29
CURRENT_ENVIRONMENT: fromWorkerEnv
30
? env.CURRENT_ENVIRONMENT
31
: process.env.CURRENT_ENVIRONMENT || "",
0 commit comments