chore: fix typos (#3490)

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

No files matched your search

+1 -1
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