mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 16:26:59 +00:00
filepath.Join
This commit is contained in:
@@ -118,7 +118,7 @@ func Manifests() (map[model.Name]*Manifest, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TODO(mxyng): use something less brittle
|
// TODO(mxyng): use something less brittle
|
||||||
matches, err := filepath.Glob(fmt.Sprintf("%s/*/*/*/*", manifests))
|
matches, err := filepath.Glob(filepath.Join(manifests, "*", "*", "*", "*"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user