Skip to content
Myr

Fix the `verbose` option printing colors when `stderr` is not a terminal

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sindre Sorhus · committed by Sindre Sorhus · parent 6925cc3 · Browse files · 2 files+19 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+19 added−8 removed

  • tests:+4 added−2 removed
  • other:+15 added−6 removed

2 files+19 added−8 removed

modified:lib/verbose/default.js+15 added-6 removed
modified:test/verbose/log.js+4 added-2 removed