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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,7 +95,7 @@ async function runElectronTests () {
const testResultsDir = process.env.ELECTRON_TEST_RESULTS_DIR const testResultsDir = process.env.ELECTRON_TEST_RESULTS_DIR
for (const [runnerId, { description, run }] of runners) { for (const [runnerId, { description, run }] of runners) {
if (runnersToRun && runnersToRun.includes(runnerId)) { if (runnersToRun && !runnersToRun.includes(runnerId)) {
console.info('\nSkipping:', description) console.info('\nSkipping:', description)
continue continue
} }