From d58d2669ae6f13bbb32ff45fc787e92f0ae4d166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean=20Fran=C3=A7ois=20CASSAN?= Date: Mon, 19 Aug 2024 17:49:25 -0300 Subject: [PATCH] "Added return nil statement when encountering a directory in passOneFsWalk function" (#447) --- browser/files/localassets.go | 1 + 1 file changed, 1 insertion(+) diff --git a/browser/files/localassets.go b/browser/files/localassets.go index d903a1b0..24df289e 100644 --- a/browser/files/localassets.go +++ b/browser/files/localassets.go @@ -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():