Skip to content

Commit

Permalink
Note the TS type in a comment
Browse files Browse the repository at this point in the history
Tried assigning it that type, but TS got angry, so I noped outta there
before I fell down that rabbit hole.
  • Loading branch information
cvalarida committed Jan 16, 2025
1 parent 35a5bf5 commit 8863f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/env-loader/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const processEnv = async (
const envVars = getEnvFileVars(process.env.APP_ENV)

// CMS FEATURE FLAGS
let cmsFeatureFlags
let cmsFeatureFlags // EnvVars, but TypeScript gets angry when assigning a boolean to a property of process.env
if (process.env.APP_ENV === 'test') {
// For now, don't fetch CMS feature flags for tests. Will fail CI.
cmsFeatureFlags = {}
Expand Down

0 comments on commit 8863f10

Please sign in to comment.