Skip to content

Skip deleting process.env.DEBUG when it is already absent - #1067

Open
lo1tuma wants to merge 1 commit into
debug-js:masterfrom
lo1tuma:skip-absent-debug-delete
Open

lo1tuma wants to merge 1 commit into
debug-js:masterfrom
lo1tuma:skip-absent-debug-delete

Conversation

@lo1tuma

@lo1tuma lo1tuma commented Dec 1, 2026

Copy link
Copy Markdown

The guard applies during import and explicit namespace clearing. An empty DEBUG is still removed on import, preserving the behavior discussed in #845.

Avoid attempting a Node environment mutation when DEBUG is already absent. Preserve the existing handling of an empty or populated DEBUG value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant