Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/ci.js
diff options
context:
space:
mode:
authorDarcy Clarke <darcy@darcyclarke.me>2020-11-12 03:10:01 +0300
committerisaacs <i@izs.me>2020-11-13 22:22:51 +0300
commit786e36404068fd51657ddac766e066a98754edbf (patch)
tree46d2f6ca4b466557e93deb93e55232c053e4fafb /lib/ci.js
parentb47ada7d1623e9ee586ee0cf781ee3ac5ea3c223 (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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci.js b/lib/ci.js
index a72e1c0cf..a1632e7e9 100644
--- a/lib/ci.js
+++ b/lib/ci.js
@@ -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)
}