Skip to content

Commit

Permalink
fix: removed debug statements
Browse files Browse the repository at this point in the history
Signed-off-by: Ayush Sharma <[email protected]>
  • Loading branch information
ayush3160 committed Dec 11, 2024
1 parent 186e52f commit b66ddc7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions jsondiff.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ func compareAndColorizeSlices(a, b []interface{}, indent string, red, green func
isNoised, _ = MatchesAnyRegex(InterfaceToString(aValue), regexArray)
}
if reflect.DeepEqual(aValue, bValue) || isNoised {
fmt.Println("Values are equal writing to both")
expectedOutput.WriteString(fmt.Sprintf("%s[%d]: %v\n", indent, i, aValue))
actualOutput.WriteString(fmt.Sprintf("%s[%d]: %v\n", indent, i, bValue))
continue
Expand Down Expand Up @@ -1042,7 +1041,6 @@ func MatchesAnyRegex(str string, regexArray []string) (bool, string) {
for _, pattern := range regexArray {
re := regexp.MustCompile(pattern)
if re.MatchString(str) {
fmt.Println("Matched with pattern: ", pattern)
return true, pattern
}
}
Expand Down

0 comments on commit b66ddc7

Please sign in to comment.