mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 10:26:53 +02:00
fix default modelfile for create (#8452)
This commit is contained in:
parent
42cf4db601
commit
a420a453b4
2 changed files with 3 additions and 3 deletions
|
@ -59,7 +59,7 @@ func getModelfileName(cmd *cobra.Command) (string, error) {
|
|||
|
||||
_, err = os.Stat(absName)
|
||||
if err != nil {
|
||||
return filename, err
|
||||
return "", err
|
||||
}
|
||||
|
||||
return absName, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue