From e3a3b1febba6868c7ad4499d2e42c526228dd31c Mon Sep 17 00:00:00 2001 From: Mike Murray Date: Wed, 14 Feb 2018 11:19:29 -0800 Subject: [PATCH] refactor: fix lint issues --- src/node/jobCollectionFactory.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/node/jobCollectionFactory.js b/src/node/jobCollectionFactory.js index b0dd7d0..de82846 100644 --- a/src/node/jobCollectionFactory.js +++ b/src/node/jobCollectionFactory.js @@ -291,9 +291,9 @@ export function createJobCollectionClass({ Meteor, Job, JobCollectionBaseClass } this.find({ status: "running", expiresAfter: { $lt: new Date() } - }).forEach((job) => { - return new Job(this.root, job).fail("Failed for exceeding worker set workTimeout"); - }); + }).forEach((job) => ( + new Job(this.root, job).fail("Failed for exceeding worker set workTimeout") + )); // Change jobs from waiting to ready when their time has come // and dependencies have been satisfied return this.readyJobs();