Fix jshint typo
This commit is contained in:
parent
aa1527b371
commit
e007b1c22a
@ -71,7 +71,9 @@ Batch.prototype.processJob = function (user, callback) {
|
|||||||
self.jobRunner.run(jobId, function (err, job) {
|
self.jobRunner.run(jobId, function (err, job) {
|
||||||
self.clearWorkInProgressJob(user, jobId, function (clearError) {
|
self.clearWorkInProgressJob(user, jobId, function (clearError) {
|
||||||
if (clearError) {
|
if (clearError) {
|
||||||
return callback(new Error('Could not clear job from work-in-progress list. Reason: ' + err.message));
|
return callback(
|
||||||
|
new Error('Could not clear job from work-in-progress list. Reason: ' + err.message)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (err) {
|
if (err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user