Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
sonatard committed Mar 1, 2020
1 parent b788cce commit b2843f6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions api/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ func Generate(cfg *config.Config, option ...Option) error {
return errors.Wrap(err, "merging type systems failed")
}

if err = codegen.GenerateCode(data); err != nil {
return errors.Wrap(err, "generating code failed")
}

for _, p := range plugins {
if mut, ok := p.(plugin.CodeGenerator); ok {
err := mut.GenerateCode(data)
Expand Down

0 comments on commit b2843f6

Please sign in to comment.