From 0cb3a13acab51812e8c537ef7b0cb22e726d1902 Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 19 Jun 2019 12:10:14 +0200 Subject: [PATCH] lint compliance --- storage/tasks.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/storage/tasks.js b/storage/tasks.js index dd2c03f13..4db1c7642 100644 --- a/storage/tasks.js +++ b/storage/tasks.js @@ -199,6 +199,7 @@ var read = function (env, filePath, cb) { var expire = function (env, task, cb) { // TODO magic numbers, maybe turn task parsing into a function // and also maybe just encode tasks in a better format to start... + var Log = env.log; var args = task.slice(2); if (!env.retainData) { @@ -212,7 +213,7 @@ var expire = function (env, task, cb) { error: err, }); } - cb() + cb(); }); return; }