Skip to content

Commit

Permalink
🚑 Try to fix different test b ehaviour on build bot?
Browse files Browse the repository at this point in the history
  • Loading branch information
wesen committed Oct 22, 2024
1 parent a09ee6f commit 4d46c78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/filewalker/walker.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ func (w *Walker) buildFSNode(parent *Node, path string) (*Node, error) {
if !w.FollowSymlinks && isSymlink(info) {
continue
}
if childPath == path {
continue
}
childNode, err := w.buildFSNode(node, childPath)
if err != nil {
return nil, err
Expand Down

0 comments on commit 4d46c78

Please sign in to comment.