fix: correctly clean path

This commit is contained in:
Henrique Dias
2026-02-28 10:31:09 +01:00
parent aa809096eb
commit 31194fb57a

View File

@@ -56,7 +56,7 @@ var withHashFile = func(fn handleFunc) handleFunc {
filePath := "" filePath := ""
if file.IsDir { if file.IsDir {
basePath = filepath.Dir(basePath) basePath = filepath.Clean(link.Path)
filePath = ifPath filePath = ifPath
} }