Style
This commit is contained in:
parent
eb01a153be
commit
e01811006d
|
@ -51,8 +51,7 @@ func Translate(c *Config) error {
|
|||
|
||||
// Write build tags, if applicable.
|
||||
if len(c.Tags) > 0 {
|
||||
_, err = fmt.Fprintf(bfd, "// +build %s\n\n", c.Tags)
|
||||
if err != nil {
|
||||
if _, err = fmt.Fprintf(bfd, "// +build %s\n\n", c.Tags); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user