Skip to content

Commit

Permalink
atg. lint main
Browse files Browse the repository at this point in the history
  • Loading branch information
glycerine committed Dec 28, 2016
1 parent 85dd25b commit 4c00407
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,12 @@ func Run(mode gen.Method, c *cfg.ZebraConfig) error {
if len(fs.Identities) == 0 {
fmt.Println("No types requiring code generation were found!")
return nil
} else {
if c.WriteSchema != "" { // saveSchemaAsMsgpackToFile
err := fs.SaveMsgpackFile(c.GoFile, c.WriteSchema)
if err != nil {
panic(err)
}
}

if c.WriteSchema != "" { // saveSchemaAsMsgpackToFile
err := fs.SaveMsgpackFile(c.GoFile, c.WriteSchema)
if err != nil {
panic(err)
}
}

Expand Down

0 comments on commit 4c00407

Please sign in to comment.