Skip to content

Commit

Permalink
fix(compare): left a print in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
StanGirard committed Aug 23, 2022
1 parent 4957560 commit b574fab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/report/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,9 @@ func ComparePreviousWithNew(previous []results.Tests, new []results.Tests) []res
found := false
for _, previousTests := range previous {
for _, previousCheck := range previousTests.Checks {
fmt.Println("Previous account ", previousTests.Account, " current account ", tests.Account)
if check.Id == previousCheck.Id && tests.Account == previousTests.Account {
if check.Status != previousCheck.Status {
checks = append(checks, check)
fmt.Println("Found check ", check.Id, " with status ", check.Status, " in previous results")

} else {
found = true
Expand Down

0 comments on commit b574fab

Please sign in to comment.