diff options
author | Darcy Clarke <darcy@darcyclarke.me> | 2020-11-12 03:10:01 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2020-11-13 22:22:51 +0300 |
commit | 786e36404068fd51657ddac766e066a98754edbf (patch) | |
tree | 46d2f6ca4b466557e93deb93e55232c053e4fafb /lib/ci.js | |
parent | b47ada7d1623e9ee586ee0cf781ee3ac5ea3c223 (diff) |
fix: pass flatOptions through to Arborist.reify in npm ci
Fixes: #2017
Credit: @darcyclarke
Close: #2159
Reviewed-by: @ruyadorno
Diffstat (limited to 'lib/ci.js')
-rw-r--r-- | lib/ci.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ const ci = async () => { rimraf(`${where}/node_modules/*`, { glob: { dot: true, nosort: true, silent: true } }), ]) // npm ci should never modify the lockfile or package.json - await arb.reify({ save: false }) + await arb.reify({ ...npm.flatOptions, save: false }) reifyOutput(arb) } |