Browse Source

filepath.Join

Michael Yang 1 year ago
parent
commit
a385382ff5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/manifest.go

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