fix golangci-lint error

This commit is contained in:
André Roth
2024-04-21 12:17:08 +02:00
parent 19a705f80d
commit 1a3346a8fa
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ func apiFilesListFiles(c *gin.Context) {
listLock := &sync.Mutex{}
root := filepath.Join(context.UploadPath(), utils.SanitizePath(c.Params.ByName("dir")))
err := walker.Walk(root, func(path string, info os.FileInfo) error {
err := walker.Walk(root, func(path string, _ os.FileInfo) error {
if path == root {
return nil
}