Skip to content

Commit

Permalink
fix extension bug
Browse files Browse the repository at this point in the history
  • Loading branch information
snowmerak committed Aug 27, 2023
1 parent 2e0799d commit a17ec16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/executor/generate/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func ConvertJson(path string) error {
return err
}

f, err := os.Create(path + "." + Suffix)
f, err := os.Create(path + "." + Suffix + ".go")
if err != nil {
return err
}
Expand Down Expand Up @@ -316,7 +316,7 @@ func ConvertYaml(path string) error {
return err
}

f, err := os.Create(path + "." + Suffix)
f, err := os.Create(path + "." + Suffix + ".go")
if err != nil {
return err
}
Expand Down

0 comments on commit a17ec16

Please sign in to comment.