diff --git a/repochecker/main.go b/repochecker/main.go index 49efea4a..20cd03a4 100644 --- a/repochecker/main.go +++ b/repochecker/main.go @@ -254,7 +254,6 @@ func main() { } bfile := searchBinaryInGit(path.Join(sync.GlobalImporter.(sync.LocalImporter).Base, p)) - nberr += len(bfile) if len(bfile) > 0 { fmt.Printf("\n") log.Println("There are some binary files in your git repository, they HAVE TO use LFS instead:") @@ -279,7 +278,6 @@ func main() { log.Println("There are some binary files in your git repository, they HAVE TO use LFS instead:") for _, f := range bfile { if strings.HasPrefix(f, p) { - nberr += 1 log.Println(" -", f) } }