util: Fix typo
This commit is contained in:
@@ -197,7 +197,7 @@ func Basename(p string) string {
|
|||||||
if p == "" {
|
if p == "" {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
if p[len(p)-1:] == "/" { // don't loose the tail slash
|
if p[len(p)-1:] == "/" { // don't lose the tail slash
|
||||||
b += "/"
|
b += "/"
|
||||||
}
|
}
|
||||||
return b
|
return b
|
||||||
|
|||||||
Reference in New Issue
Block a user