aboutsummaryrefslogtreecommitdiff
path: root/ref/store/files/update_cleanup_parents.go
diff options
context:
space:
mode:
Diffstat (limited to 'ref/store/files/update_cleanup_parents.go')
-rw-r--r--ref/store/files/update_cleanup_parents.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/ref/store/files/update_cleanup_parents.go b/ref/store/files/update_cleanup_parents.go
index c62681fa..5a994dcd 100644
--- a/ref/store/files/update_cleanup_parents.go
+++ b/ref/store/files/update_cleanup_parents.go
@@ -22,11 +22,6 @@ func (executor *refUpdateExecutor) tryRemoveEmptyParentPaths(kind rootKind, name
return
}
- var pathErr *os.PathError
- if errors.As(err, &pathErr) {
- return
- }
-
return
}