Skip to content

Commit 0a1523a

Browse files
authored
removed redundant comments
1 parent e86e851 commit 0a1523a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

config/envVarCheck.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ import { loadEnv } from "./config";
77
* ---
88
*/
99
export function validateEnv() {
10-
//pass empty object as env and fromWorkerEnv = false, since this method is should get executed in github actions and not in worker
1110
const env: env = loadEnv({}, false);
1211
const missingEnvVariables = Object.keys(env).filter(
1312
(key) => env[key] == ""
1413
);
1514

16-
// Logging missing environment variables and throw error if any are missing
1715
if (missingEnvVariables.length > 0) {
1816
throw new Error(
1917
`Missing environment variables: ${missingEnvVariables.join(", ")}`

0 commit comments

Comments
 (0)