Merge ea3669ea6e027edd416e95b5fabd3d5da894113e into 67c9d4ee110e9adfe33063ef847dba56717c148a

This commit is contained in:
youzeliang 2025-04-27 16:39:44 +00:00 committed by GitHub
commit 49615cfe0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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]
}