Browse Source

build: remove log from the spec runner

Samuel Attard 6 years ago
parent
commit
259bc3a918
2 changed files with 2 additions and 4 deletions
  1. 1 1
      DEPS
  2. 1 3
      script/spec-runner.js

+ 1 - 1
DEPS

@@ -107,7 +107,7 @@ hooks = [
     'action': [
       'python',
       '-c',
-      'import os, subprocess; os.chdir(os.path.join("src", "electron")); subprocess.check_call(["python", "script/lib/npm.py", "ci"]);',
+      'import os, subprocess; os.chdir(os.path.join("src", "electron")); subprocess.check_call(["python", "script/lib/npm.py", "install"]);',
     ],
   },
   {

+ 1 - 3
script/spec-runner.js

@@ -115,8 +115,6 @@ async function runMainProcessElectronTests () {
   const exe = path.resolve(BASE, utils.getElectronExec())
   const args = process.argv.slice(2).filter(arg => !arg.startsWith('--only='))
 
-  console.log(exe, args)
-
   const { status } = childProcess.spawnSync(exe, ['electron/spec-main', ...args], {
     cwd: path.resolve(__dirname, '../..'),
     stdio: 'inherit'
@@ -132,7 +130,7 @@ async function installSpecModules () {
     npm_config_nodedir: nodeDir,
     npm_config_msvs_version: '2017'
   })
-  const { status } = childProcess.spawnSync(NPM_CMD, ['ci'], {
+  const { status } = childProcess.spawnSync(NPM_CMD, ['install'], {
     env,
     cwd: path.resolve(__dirname, '../spec'),
     stdio: 'inherit'