From 259bc3a918cbaff0f15b1a5fbd16fb92d98b02a7 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Mon, 11 Mar 2019 17:09:34 -0700 Subject: [PATCH] build: remove log from the spec runner --- DEPS | 2 +- script/spec-runner.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/DEPS b/DEPS index 0403ab4536a2..fc7cde9dac34 100644 --- a/DEPS +++ b/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"]);', ], }, { diff --git a/script/spec-runner.js b/script/spec-runner.js index 5bd89e50aac4..5c98559c15dc 100755 --- a/script/spec-runner.js +++ b/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'