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
diff options
context:
space:
mode:
authorLuke Karrys <luke@lukekarrys.com>2022-02-22 07:58:12 +0300
committerLuke Karrys <luke@lukekarrys.com>2022-02-24 02:58:59 +0300
commitce1c2bf4bade53df66efff03415d29a828a3d47a (patch)
tree35253ef97d11949e4fe1f2ddc9badf6582e9e993 /lib/commands/ci.js
parent174dd88cba31b25461619fe796fe1d3ac34eae70 (diff)
chore(cli): remove log option from being passed anywhere
Diffstat (limited to 'lib/commands/ci.js')
-rw-r--r--lib/commands/ci.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/commands/ci.js b/lib/commands/ci.js
index 5e862a473..e054bee51 100644
--- a/lib/commands/ci.js
+++ b/lib/commands/ci.js
@@ -40,7 +40,6 @@ class CI extends ArboristWorkspaceCmd {
...this.npm.flatOptions,
packageLock: true, // npm ci should never skip lock files
path: where,
- log,
save: false, // npm ci should never modify the lockfile or package.json
workspaces: this.workspaceNames,
}
@@ -101,7 +100,7 @@ class CI extends ArboristWorkspaceCmd {
scriptShell,
stdio: 'inherit',
stdioString: true,
- banner: log.level !== 'silent',
+ banner: !this.npm.silent,
event,
})
}