Skip to content

Commit

Permalink
refactor: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemurray committed Feb 14, 2018
1 parent d1dbe88 commit e3a3b1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/node/jobCollectionFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e3a3b1f

Please sign in to comment.