chore: fix typos (#3490)

This commit is contained in:
Andreas Deininger
2024-09-23 11:55:07 +02:00
committed by GitHub
parent 406d4f7884
commit d729701bd4
9 changed files with 13 additions and 13 deletions

View File

@@ -98,7 +98,7 @@ func CommonPrefix(sep byte, paths ...string) string {
// (e.g. /home/user1, /home/user1/foo, /home/user1/bar).
// path.Clean will have cleaned off trailing / separators with
// the exception of the root directory, "/" (in which case we
// make it "//", but this will get fixed up to "/" bellow).
// make it "//", but this will get fixed up to "/" below).
c = append(c, sep)
// Ignore the first path since it's already in c