diff options
author | Kat Marchán <kzm@zkat.tech> | 2018-08-31 21:55:16 +0300 |
---|---|---|
committer | Kat Marchán <kzm@zkat.tech> | 2018-12-11 02:30:29 +0300 |
commit | 8a56fa39e61136da45565447fe201a57f04ad4cd (patch) | |
tree | 6b68af8249c52ae5b00d6a7a798ea1b0ea0f5cb5 /lib | |
parent | ec9fcc14f4e0e2f3967e2fd6ad8b8433076393cb (diff) |
figgy-config: fix opts.color defaults because npm is weird
Diffstat (limited to 'lib')
-rw-r--r-- | lib/config/figgy-config.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/config/figgy-config.js b/lib/config/figgy-config.js index ae998272c..9f99db329 100644 --- a/lib/config/figgy-config.js +++ b/lib/config/figgy-config.js @@ -27,6 +27,9 @@ function mkConfig (...providers) { baseConfig = NpmConfig(npm.config, { // Add some non-npm-config opts by hand. cache: path.join(npm.config.get('cache'), '_cacache'), + // NOTE: npm has some magic logic around color distinct from the config + // value, so we have to override it here + color: !!npm.color, dirPacker: pack.packGitDep, hashAlgorithm: 'sha1', includeDeprecated: false, |