From 44f2b466b5c6970e367a3a9f55059d29602f4d25 Mon Sep 17 00:00:00 2001 From: Richard Macklin Date: Sun, 3 Mar 2024 21:08:03 -0800 Subject: [PATCH] Apply gofmt changes to repopath.go --- ui/common/repopath.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/common/repopath.go b/ui/common/repopath.go index 7f1649b2..4fee0dfc 100644 --- a/ui/common/repopath.go +++ b/ui/common/repopath.go @@ -44,8 +44,8 @@ func GetRepoLocalPath(repoName string, cfgPaths map[string]string) (string, bool wildcardPath, wildcardFound := cfgPaths[fmt.Sprintf("%s/*", owner)] if wildcardFound { - // adjust wildcard match to wildcard path - ~/somepath/* to ~/somepath/{repo} - return fmt.Sprintf("%s/%s", strings.TrimSuffix(wildcardPath, "/*"), repo), true + // adjust wildcard match to wildcard path - ~/somepath/* to ~/somepath/{repo} + return fmt.Sprintf("%s/%s", strings.TrimSuffix(wildcardPath, "/*"), repo), true } if defaultPath, found := cfgPaths["default_path"]; found {