Skip to content

Commit

Permalink
fix: fix model command bug
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkgos committed May 10, 2024
1 parent 8fbe9e0 commit 3971728
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/ormat/command/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ func newModelCmd() *modelCmd {
Version: version,
PackageName: utils.GetPkgName(root.OutputDir),
DisableDocComment: root.DisableDocComment,
Option: root.Option,
}
data, err := g.Gen().FormatSource()
if err != nil {
Expand Down

0 comments on commit 3971728

Please sign in to comment.