Skip to content
Merged
Prev Previous commit
fix err checks
  • Loading branch information
fexolm committed Jun 3, 2018
commit 347d3e96f893a9a7938962053468d0f2677eebdc
3 changes: 1 addition & 2 deletions cmd/makedocs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ func main() {
if err != nil {
log.Fatal(err)
}
err = ioutil.WriteFile(docsPath+"overview.md", buf.Bytes(), 0600)
if err != nil {
if err := ioutil.WriteFile(docsPath+"overview.md", buf.Bytes(), 0600); err != nil {
log.Fatal(err)
}
}
Expand Down
Binary file added cmd/makedocs/makedocs
Binary file not shown.