Skip to content

Commit

Permalink
v4.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
evantahler committed Aug 21, 2017
1 parent d1a67bc commit 48775bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ queue.prototype.enqueue = function (q, func, args, callback) {
var job = self.jobs[func]

pluginRunner.runPlugins(self, 'before_enqueue', func, q, job, args, function (error, toRun) {
if (error) { return callback(error) }
if (error) { return callback(error, toRun) }
if (toRun === false) { return callback(error, toRun) }

jobs.push(function (done) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "node-resque",
"description": "an opinionated implementation of resque in node",
"license": "Apache-2.0",
"version": "4.0.7",
"version": "4.0.8",
"homepage": "http://github.com/taskrabbit/node-resque",
"repository": {
"type": "git",
Expand Down

0 comments on commit 48775bd

Please sign in to comment.