diff options
author | Gareth Jones <jones258@gmail.com> | 2020-10-18 22:53:08 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2020-10-20 21:26:29 +0300 |
commit | 00d926f8d884872d08d9a0cd73aa9cace2acb91b (patch) | |
tree | 4951ebdac98d00239a218de747996df5c6801c8e /test/lib/run-script.js | |
parent | c9993e6b1c2918699c2d125bf9b966f44f5d3ebe (diff) |
fix: don't suppress run output when `--silent` is passed
PR-URL: https://github.com/npm/cli/pull/1987
Credit: @G-Rath
Close: #1987
Reviewed-by: @ruyadorno
Diffstat (limited to 'test/lib/run-script.js')
-rw-r--r-- | test/lib/run-script.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lib/run-script.js b/test/lib/run-script.js index 0bb0c056b..9f48b8f59 100644 --- a/test/lib/run-script.js +++ b/test/lib/run-script.js @@ -284,13 +284,13 @@ t.test('run silent', async t => { t.match(RUN_SCRIPTS, [ { event: 'preenv', - stdio: 'pipe' + stdio: 'inherit' }, { path: npm.localPrefix, args: [], scriptShell: undefined, - stdio: 'pipe', + stdio: 'inherit', stdioString: true, pkg: { name: 'x', version: '1.2.3', _id: 'x@1.2.3', scripts: { env: 'env' @@ -299,7 +299,7 @@ t.test('run silent', async t => { }, { event: 'postenv', - stdio: 'pipe' + stdio: 'inherit' } ]) }) |