Compare commits

...

2 Commits

Author SHA1 Message Date
youzeliang
7ff0284ccb
Merge ea3669ea6e027edd416e95b5fabd3d5da894113e into 8763f33c65f7df8be5b9fe7504ab7fcf20abb41d 2025-03-23 09:37:09 +08:00
youzeliang
ea3669ea6e
Update path.go
Add a comma for more clarity
2023-05-09 23:19:02 +08:00

View File

@ -115,7 +115,7 @@ func cleanPath(p string) string {
// If the original string was not modified (or only shortened at the end),
// return the respective substring of the original string.
// Otherwise return a new string from the buffer.
// Otherwise, return a new string from the buffer.
if len(buf) == 0 {
return p[:w]
}