aboutsummaryrefslogtreecommitdiff
path: root/ref/store/files/update_cleanup_parents.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-25 16:50:10 +0000
committerGravatar Runxi Yu2026-03-25 16:50:10 +0000
commitd814c18f223137361d1cffbcdd4ec36a3083e615 (patch)
tree6b631b09fdc59f0c643436b026b21222d02c6635 /ref/store/files/update_cleanup_parents.go
parentrepository: Yeah this phrasing is *much* better than the 2AM one (diff)
*: Use errors.AsType v0.1.113
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
}