Skip to content

Commit f583fb6

Browse files
iancha1992fmeum
andcommitted
Update src/main/java/com/google/devtools/build/lib/skyframe/FileSystemValueCheckerInferringAncestors.java
Co-authored-by: Fabian Meumertzheim <[email protected]>
1 parent d4a790b commit f583fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/google/devtools/build/lib/skyframe/FileSystemValueCheckerInferringAncestors.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ && listingHasEntriesOutsideOf(path, maybeDeletedChildren))) {
341341
boolean typeChanged = newFsv.getType() != oldFsv.getType();
342342
if (typeChanged) {
343343
parentListingKey(path).ifPresent(valuesToInvalidate::add);
344-
if (oldFsv.isDirectory() && !newFsv.exists()) {
344+
if (oldFsv.getType().isDirectory() && !newFsv.getType().exists()) {
345345
deletedDirectories.add(path);
346346
}
347347
}

0 commit comments

Comments
 (0)