From a9e3dabc8a7585a7aeb17cb677b34f31c48a23dd Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Thu, 29 Aug 2019 11:11:10 -0700 Subject: [PATCH] build: accidentally inverted a bool (#20029) --- script/spec-runner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/spec-runner.js b/script/spec-runner.js index 831e6b24e40a..c22f1c3e7ed7 100755 --- a/script/spec-runner.js +++ b/script/spec-runner.js @@ -95,7 +95,7 @@ async function runElectronTests () { const testResultsDir = process.env.ELECTRON_TEST_RESULTS_DIR for (const [runnerId, { description, run }] of runners) { - if (runnersToRun && runnersToRun.includes(runnerId)) { + if (runnersToRun && !runnersToRun.includes(runnerId)) { console.info('\nSkipping:', description) continue }