fixed path issue (#157)
Co-authored-by: afkarxyz <mzamzamafkarhadiq@gmail.com>
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user