fix create from model tag
This commit is contained in:
parent
cac11c9137
commit
d660eebf22
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ func CreateHandler(cmd *cobra.Command, args []string) error {
|
|||
|
||||
bin, err := os.Open(path)
|
||||
if errors.Is(err, os.ErrNotExist) && c.Name == "model" {
|
||||
// value might be a model reference and not a real file
|
||||
continue
|
||||
} else if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue