diff --git a/main.go b/main.go index 3f1b4da..5868eff 100644 --- a/main.go +++ b/main.go @@ -57,7 +57,7 @@ func ComputeTotalCoverage(sourceFiles map[string][]SourceFile) float64 { } func Run(reports []string) { - if len(reports) != 1 { + if len(reports) == 0 { flag.Usage() return }