Browse Source

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

Jeremy Apthorp 6 years ago
parent
commit
2538e20c4d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      script/spec-runner.js

+ 2 - 1
script/spec-runner.js

@@ -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')