Skip to content

Commit b057365

Browse files
authored
extending fix for non existant file cache removal to files. (#11)
Previous were archive, I forgot to do for files too
1 parent 644e2ad commit b057365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Directory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public Directory(String path) throws IOException {
7979
if (!file.getFile().exists())
8080
fileDeletions.add(file);
8181

82-
if (!String.valueOf(file.getFile().lastModified()).equals(file.getLastModified())) {
82+
else if (!String.valueOf(file.getFile().lastModified()).equals(file.getLastModified())) {
8383
fileDeletions.add(file);
8484
fileAditions.add(file);
8585
}

0 commit comments

Comments
 (0)