From c5fd75dac3ddfe8f8a22cafa871bd9028c938f1d Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Tue, 9 Jul 2013 08:01:41 +1000 Subject: [PATCH] removed check on undefined configState.filename - should not happen, and is covered by the statSync anyway --- lib/log4js.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/log4js.js b/lib/log4js.js index e8b94ac..6e31058 100644 --- a/lib/log4js.js +++ b/lib/log4js.js @@ -224,10 +224,6 @@ function configureOnceOff(config, options) { function reloadConfiguration() { var filename = configState.filename, mtime; - if (!filename) { - // can't find anything to reload - return; - } try { mtime = fs.statSync(filename).mtime; } catch (e) {