"docs/git@developer.sourcefind.cn:OpenDAS/mmcv.git" did not exist on "d3b057240829a0662125d5e83e002b33cd3fa874"
Commit d660eebf authored by Michael Yang's avatar Michael Yang
Browse files

fix create from model tag

parent cac11c91
...@@ -78,7 +78,7 @@ func CreateHandler(cmd *cobra.Command, args []string) error { ...@@ -78,7 +78,7 @@ func CreateHandler(cmd *cobra.Command, args []string) error {
bin, err := os.Open(path) bin, err := os.Open(path)
if errors.Is(err, os.ErrNotExist) && c.Name == "model" { 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 { } else if err != nil {
return err return err
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment