filepath.Join

This commit is contained in:
Michael Yang 2024-05-08 15:56:40 -07:00
parent 6f2a09abfd
commit 34a1dbe6ec

View File

@ -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
}