Skip to content

Commit

Permalink
Only Files
Browse files Browse the repository at this point in the history
  • Loading branch information
madprops committed Sep 30, 2024
1 parent aca8b4f commit 89eecbb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/goldie.nim
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ proc format_results(results: seq[Result], duration: float): seq[string] =

space()
lines.add(header)
counter += r.lines.len

if conf.only_files:
lines.add(&"{r.lines.len} matches")
Expand Down Expand Up @@ -300,8 +301,6 @@ proc format_results(results: seq[Result], duration: float): seq[string] =

space()

counter += r.lines.len

let
rs = result_string(counter)
d = duration.format_float(ffDecimal, 2)
Expand Down

0 comments on commit 89eecbb

Please sign in to comment.