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:
authorGar <gar+gh@danger.computer>2021-02-18 01:57:38 +0300
committernlf <quitlahok@gmail.com>2021-02-22 20:13:18 +0300
commitb018eb84266dc5a02274849135ca148cb59cc349 (patch)
tree7e01c08c309f3ac78a730659e5c0dd3b4bf03f53 /lib/ci.js
parentd865b101f72142619531311645479f0596a68a1a (diff)
fix(runScript): obey silent loglevel
If the user has specified a silent loglevel, we should pass that intention on when we call runScript Also a small cleanup in lib/run-script.js so that the reference to @npmcli/run-script is named the same as other files. PR-URL: https://github.com/npm/cli/pull/2719 Credit: @wraithgar Close: #2719 Reviewed-by: @nlf
Diffstat (limited to 'lib/ci.js')
-rw-r--r--lib/ci.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ci.js b/lib/ci.js
index 36410616f..80b9dbb22 100644
--- a/lib/ci.js
+++ b/lib/ci.js
@@ -68,6 +68,7 @@ const ci = async () => {
scriptShell,
stdio: 'inherit',
stdioString: true,
+ banner: log.level !== 'silent',
event,
})
}