Skip to content

Commit eb0e4e0

Browse files
authored
fix: Follow-up for the detailed exit code feature (#74)
I have mistakenly introduced a build error due to my merge mistake while resolving conflicts in #65. This fixes that.
1 parent 1846c74 commit eb0e4e0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

diff/diff.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ func generateDiff(oldContent *manifest.MappingResult, newContent *manifest.Mappi
5757
}
5858

5959
func printDiff(suppressedKinds []string, kind string, context int, diffs []difflib.DiffRecord, to io.Writer) {
60-
diffs := difflib.Diff(strings.Split(before, "\n"), strings.Split(after, "\n"))
61-
6260
for _, ckind := range suppressedKinds {
6361
if ckind == kind {
6462
str := fmt.Sprintf("+ Changes suppressed on sensitive content of type %s\n", kind)

0 commit comments

Comments
 (0)