test: inherit stdio when 'npm install'ing spec deps (#14740)

This commit is contained in:
Jeremy Apthorp 2018-09-20 13:43:33 -07:00 committed by GitHub
parent 76cd065291
commit 2538e20c4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,8 @@ getSpecHash().then(([currentSpecHash, currentSpecInstallHash]) => {
npm_config_nodedir: path.resolve(BASE, `out/${utils.OUT_DIR}/gen/node_headers`),
npm_config_msvs_version: '2017'
}),
cwd: path.resolve(__dirname, '../spec')
cwd: path.resolve(__dirname, '../spec'),
stdio: 'inherit'
})
if (out.status !== 0) {
console.error('Failed to npm install in the spec folder')