Skip to content

Commit

Permalink
'use strict' fix
Browse files Browse the repository at this point in the history
  • Loading branch information
respinha committed Mar 16, 2018
1 parent 3fc6d4c commit ca20429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -958,7 +958,7 @@ Queue.prototype.schedule = function (when, job, done) {
function saveUniqueJob(job, next) {
// if a unique name is specified, save it with the job details
if (job.data && job.data.unique) {
let jobDataKey = this._getJobDataKey(job.data.unique);
var jobDataKey = this._getJobDataKey(job.data.unique);
this._saveJobData(jobDataKey, job, function (error) {
next(error, job);
});
Expand Down

0 comments on commit ca20429

Please sign in to comment.