From 1e678905c48db91910093939d9407f96cb4e1d0b Mon Sep 17 00:00:00 2001 From: James Shubin Date: Fri, 26 Jul 2019 03:31:34 -0400 Subject: [PATCH] util: Fix typo --- util/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/util.go b/util/util.go index 1ccb54cc..0fccb336 100644 --- a/util/util.go +++ b/util/util.go @@ -197,7 +197,7 @@ func Basename(p string) string { if p == "" { return "" } - if p[len(p)-1:] == "/" { // don't loose the tail slash + if p[len(p)-1:] == "/" { // don't lose the tail slash b += "/" } return b