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…
Reference in New Issue
Block a user