Skip to content
Permalink
Browse files

style fix

  • Loading branch information...
ezekg committed Nov 23, 2015
1 parent 7d91f14 commit 8b181f972e4d03ff5f45c7f5ad1f8ea26e3abddc
Showing with 4 additions and 4 deletions.
  1. +4 −4 main.go
@@ -37,7 +37,7 @@ func main() {
}

hunkCount := 0
errCount := 0
failCount := 0

warnc := make(chan string)
failc := make(chan error)
@@ -59,14 +59,14 @@ func main() {
fmt.Print(msg)
case err := <-failc:
fmt.Print(err)
errCount++
failCount++
case <-donec:
c++
}
}

if errCount > 0 {
fmt.Printf("%d failures detected. Please fix them before you can commit.\n", errCount)
if failCount > 0 {
fmt.Printf("%d failures detected. Please fix them before you can commit.\n", failCount)
os.Exit(1)
}
}

0 comments on commit 8b181f9

Please sign in to comment.
You can’t perform that action at this time.