removed check on undefined configState.filename - should not happen, and is covered by the statSync anyway

This commit is contained in:
Gareth Jones 2013-07-09 08:01:41 +10:00
parent 4dd5989d27
commit c5fd75dac3

View File

@ -224,10 +224,6 @@ function configureOnceOff(config, options) {
function reloadConfiguration() { function reloadConfiguration() {
var filename = configState.filename, var filename = configState.filename,
mtime; mtime;
if (!filename) {
// can't find anything to reload
return;
}
try { try {
mtime = fs.statSync(filename).mtime; mtime = fs.statSync(filename).mtime;
} catch (e) { } catch (e) {