Skip to content

fix: Better defaulting to NEXT_PUBLIC_LOGGER_LEVEL=4#16900

Merged
keithwillcode merged 2 commits into
mainfrom
chore/remove-silly-logging-when-empty-string
Oct 1, 2024
Merged

fix: Better defaulting to NEXT_PUBLIC_LOGGER_LEVEL=4#16900
keithwillcode merged 2 commits into
mainfrom
chore/remove-silly-logging-when-empty-string

Conversation

@emrysal
Copy link
Copy Markdown
Contributor

@emrysal emrysal commented Oct 1, 2024

What does this PR do?

I was wondering why my console was so vocal even though I had NEXT_PUBLIC_LOGGER_LEVEL= in my .env; That's because that's an "" - not undefined, so ?? would never work if the env var is actually set to "". || works in both cases.

@graphite-app graphite-app Bot requested a review from a team October 1, 2024 16:46
@keithwillcode keithwillcode added core area: core, team members only foundation labels Oct 1, 2024
@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented Oct 1, 2024

Graphite Automations

"Add foundation team as reviewer" took an action on this PR • (10/01/24)

1 reviewer was added to this PR based on Keith Williams's automation.

"Add ready-for-e2e label" took an action on this PR • (10/01/24)

1 label was added to this PR based on Keith Williams's automation.

@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Oct 1, 2024 4:52pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Oct 1, 2024 4:52pm

@keithwillcode keithwillcode enabled auto-merge (squash) October 1, 2024 17:18
@keithwillcode keithwillcode merged commit 182d0fa into main Oct 1, 2024
@keithwillcode keithwillcode deleted the chore/remove-silly-logging-when-empty-string branch October 1, 2024 17:38
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 1, 2024

E2E results are ready!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only foundation ready-for-e2e

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants