Skip to content

Commit

Permalink
fixing assert
Browse files Browse the repository at this point in the history
  • Loading branch information
biancalaube committed Nov 21, 2024
1 parent 0d5e06c commit 2884b47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/util/src/assertDbEnvVars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const assertEnvVars = (vars: StaticEnvVars) => {
.filter(([, value]) => !value)
.map(([key]) => `- ${key}`)
.join('\n');
// if (missingVars)
// throw new Error(`Missing env var(s) ${JSON.stringify(missingVars)}`);
if (missingVars)
throw new Error(`Missing env var(s) ${JSON.stringify(missingVars)}`);
return vars;
};

Expand Down

0 comments on commit 2884b47

Please sign in to comment.