Skip to content

Commit e86e851

Browse files
authored
removed unnecessary comments
1 parent a7b5a82 commit e86e851

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

config/config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ import { config as configFromDotEnv } from "dotenv";
2323

2424
export function loadEnv(env: env, fromWorkerEnv: boolean): env {
2525
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
2926
CURRENT_ENVIRONMENT: fromWorkerEnv
3027
? env.CURRENT_ENVIRONMENT
3128
: process.env.CURRENT_ENVIRONMENT || "",

0 commit comments

Comments
 (0)