Only files should be treated as being existant.
This commit is contained in:
parent
32b4729305
commit
766c301a44
|
@ -285,8 +285,10 @@ function statFile(filename, callback) {
|
|||
} else {
|
||||
callback(error);
|
||||
}
|
||||
} else {
|
||||
} else if (stats.isFile()) {
|
||||
callback(null, stats.mtime.getTime(), true);
|
||||
} else {
|
||||
callback(null, stats.mtime.getTime(), false);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue