Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

Commit

Permalink
fix(config): pipe stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Aug 30, 2017
1 parent d6629be commit 08e6af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function readConfig () {
const child = spawn('npm', ['config', 'ls', '--json'], {
env: process.env,
cwd: process.cwd(),
stdio: 'inherit'
stdio: [0, 'pipe', 2]
})

let stdout = ''
Expand Down

0 comments on commit 08e6af8

Please sign in to comment.