From a385382ff5e1dc94ed17e8cd0b29f031e91c33ed Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Wed, 8 May 2024 15:56:40 -0700 Subject: [PATCH] filepath.Join --- server/manifest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/manifest.go b/server/manifest.go index 131d4918..41a96c55 100644 --- a/server/manifest.go +++ b/server/manifest.go @@ -118,7 +118,7 @@ func Manifests() (map[model.Name]*Manifest, error) { } // TODO(mxyng): use something less brittle - matches, err := filepath.Glob(fmt.Sprintf("%s/*/*/*/*", manifests)) + matches, err := filepath.Glob(filepath.Join(manifests, "*", "*", "*", "*")) if err != nil { return nil, err }