Skip to content

fix: honor DEBUG_HIDE_DATE when set as a flag#1047

Open
Hashim1999164 wants to merge 1 commit into
debug-js:masterfrom
Hashim1999164:fix/debug-hide-date-flag
Open

fix: honor DEBUG_HIDE_DATE when set as a flag#1047
Hashim1999164 wants to merge 1 commit into
debug-js:masterfrom
Hashim1999164:fix/debug-hide-date-flag

Conversation

@Hashim1999164

@Hashim1999164 Hashim1999164 commented Jul 23, 2026

Copy link
Copy Markdown

Fixes #959

Summary

  • Treat an empty DEBUG_HIDE_DATE value as enabled so the documented env var works when used as a flag
  • Add a regression test covering empty, 1, and true values in non-TTY output

Test plan

  • npm run test:node

Treat an empty DEBUG_HIDE_DATE value as enabled so the documented env var
works when used without an explicit true/1 value in non-TTY output.
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.

DEBUG_HIDE_DATE doesn't exist / do anything

1 participant