From e72b4f65ce096a0b0c3c058da83cf1a6d2c92409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Dahlgren?= Date: Sun, 22 Nov 2015 11:11:35 +0100 Subject: [PATCH] Fixed incorrect variable name i logs manager --- lib/logs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logs.js b/lib/logs.js index bd2c24f..369de82 100644 --- a/lib/logs.js +++ b/lib/logs.js @@ -85,7 +85,7 @@ Logs.prototype.getLogFile = function (filename, callback) { }); if (validLogs.length > 0) { - callback(null, logfile[0]); + callback(null, validLogs[0]); } else { callback(null, null); }