Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
deadc0de6 committed Jun 3, 2024
1 parent 1b0f5f7 commit c520796
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/walker/walker.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ func (w *Walker) walk(storageID int, walkPath string, storagePath string, parent
// skipping
return nil
}
if filepath.Base(pathUnderRoot) == filepath.Base(walkPath) {

if pathUnderRoot == walkPath {
//log.Debugf("skipping \"%s\"", pathUnderRoot)
// skipping
return nil
Expand Down

0 comments on commit c520796

Please sign in to comment.