Explorar el Código

fix create from model tag

Michael Yang hace 1 año
padre
commit
d660eebf22
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      cmd/cmd.go

+ 1 - 1
cmd/cmd.go

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