• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

npm / cli / #2694
97%
latest: 97%

Build:
Build:
LAST BUILD BRANCH: nlf/arborist-validation
DEFAULT BRANCH: latest
Ran 22 Jul 2021 02:02PM UTC
Jobs 1
Files 123
Run time 19s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#2694

push

wraithgar
fix(config): consolidate use of npm.color

The config value for `color` should never be directly read by npm, or
its submodules.  The derived value `npm.color` or
`npm.flatOptions.color` is what we want to use.

This PR consolidates the use of these values, makes sure there is only
one place the value is actually calculated, and stops relying on
duplicated code in the setup-log.js file for setting one of them.

PR-URL: https://github.com/npm/cli/pull/3563
Credit: @wraithgar
Close: #3563
Reviewed-by: @lukekarrys

3184 of 3273 branches covered (97.28%)

Branch coverage included in aggregate %.

6 of 6 new or added lines in 5 files covered. (100.0%)

5424 of 5567 relevant lines covered (97.43%)

26.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #2694.1 22 Jul 2021 02:02PM UTC 0
97.38
Source Files on build #2694
Detailed source file information is not available for this build.
  • Back to Repo
  • eb67054c on github
  • Prev Build on gar/npm-color
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc