mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
removed check on undefined configState.filename - should not happen, and is covered by the statSync anyway
This commit is contained in:
parent
4dd5989d27
commit
c5fd75dac3
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user