diff options
author | Gar <gar+gh@danger.computer> | 2021-02-18 01:57:38 +0300 |
---|---|---|
committer | nlf <quitlahok@gmail.com> | 2021-02-22 20:13:18 +0300 |
commit | b018eb84266dc5a02274849135ca148cb59cc349 (patch) | |
tree | 7e01c08c309f3ac78a730659e5c0dd3b4bf03f53 /lib/ci.js | |
parent | d865b101f72142619531311645479f0596a68a1a (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.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -68,6 +68,7 @@ const ci = async () => { scriptShell, stdio: 'inherit', stdioString: true, + banner: log.level !== 'silent', event, }) } |