Skip to content

Commit 39ffbff

Browse files
committed
Fix build
1 parent ac9cd9f commit 39ffbff

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pkg/leeway/reporter.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,7 @@ func (r *ConsoleReporter) PackageBuildFinished(pkg *Package, rep *PackageBuildRe
215215
delete(r.times, nme)
216216
r.mu.Unlock()
217217

218-
var coverage string
219-
if rep.TestCoverageAvailable {
220-
coverage = color.Sprintf("<fg=yellow>test coverage: %d%%</> <gray>(%d of %d functions have tests)</>\n", rep.TestCoveragePercentage, rep.FunctionsWithTest, rep.FunctionsWithTest+rep.FunctionsWithoutTest)
221-
}
222-
msg := color.Sprintf("%s<green>package build succeeded</> <gray>(%.2fs)</>\n", coverage, dur.Seconds())
223-
218+
var msg string
224219
if rep.Error != nil {
225220
msg = color.Sprintf("<red>package build failed while %sing</>\n<white>Reason:</> %s\n", rep.LastPhase(), rep.Error)
226221
} else {

0 commit comments

Comments
 (0)