build: accidentally inverted a bool (#20029)

This commit is contained in:
Shelley Vohr
2019-08-29 11:11:10 -07:00
committed by GitHub
parent 609403fba6
commit a9e3dabc8a

View File

@@ -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
}