Skip to content

Commit

Permalink
fix fmt.Errorf in generate.go
Browse files Browse the repository at this point in the history
  • Loading branch information
awalterschulze committed Feb 20, 2025
1 parent ff3746e commit 3784d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion derive/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func (pkg *pkg) Generate() (bool, error) {
g := pkg.generators[plugin.Name()]
for _, typs := range g.ToGenerate() {
if err := g.Generate(typs); err != nil {
return false, fmt.Errorf("Generator Error: " + plugin.Name() + ":" + err.Error())
return false, fmt.Errorf("Generator Error: %s:%v", plugin.Name(), err.Error())
}
generated = true
}
Expand Down

0 comments on commit 3784d21

Please sign in to comment.