fixed path issue (#157)

Co-authored-by: afkarxyz <mzamzamafkarhadiq@gmail.com>
This commit is contained in:
enriqueqs
2025-12-12 11:31:13 +01:00
committed by GitHub
parent 64b86b65a1
commit ffd4daf031
4 changed files with 14 additions and 12 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ func SanitizeFolderPath(folderPath string) string {
continue
}
// Keep empty string at the start for absolute paths on Unix
// Keep empty first part for absolute paths on Unix (e.g., "/Users/...")
if i == 0 && part == "" {
sanitizedParts = append(sanitizedParts, part)
continue