Skip to content

Commit

Permalink
"Added return nil statement when encountering a directory in passOneF…
Browse files Browse the repository at this point in the history
…sWalk function" (#447)
  • Loading branch information
simulot authored Aug 19, 2024
1 parent ab7ee9f commit d58d266
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions browser/files/localassets.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func (la *LocalAssetBrowser) passOneFsWalk(ctx context.Context, fsys fs.FS) erro

if d.IsDir() {
la.catalogs[fsys][name] = []string{}
return nil
}
select {
case <-ctx.Done():
Expand Down

0 comments on commit d58d266

Please sign in to comment.