Skip to content

fix: respect NO_COLOR environment variable#339

Open
abhii734 wants to merge 1 commit intoexpressjs:masterfrom
abhii734:fix/no-color-env
Open

fix: respect NO_COLOR environment variable#339
abhii734 wants to merge 1 commit intoexpressjs:masterfrom
abhii734:fix/no-color-env

Conversation

@abhii734
Copy link

Bug\n\nmorgan dev format does not respect NO_COLOR=1 environment variable (morgan#302)\n\n## Fix\nCheck process.env.NO_COLOR and disable colored output when set.\n\nThis complies with no-color.org standard for accessibility.

When NO_COLOR=1 is set, disable colored output in dev format
to comply with no-color.org standard (morgan#302)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant