The Wayback Machine - https://web.archive.org/web/20210728020408/https://github.com/npm/cli/tree/latest/lib
Skip to content
latest
Switch branches/tags
cli/lib/
cli/lib/

Latest commit

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: #3563
Credit: @wraithgar
Close: #3563
Reviewed-by: @lukekarrys
eb67054

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time