Skip to content

Commit

Permalink
Merge pull request #3597 from ActiveState/mitchell/dx-3165
Browse files Browse the repository at this point in the history
Fixed interline diffs.
  • Loading branch information
mitchell-as authored Nov 19, 2024
2 parents 7d88e59 + 3eb0e78 commit 0a5c961
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/runbits/buildscript/buildscript.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ func generateDiff(script *buildscript.BuildScript, otherScript *buildscript.Buil
scriptLines, newScriptLines, lines := diff.DiffLinesToChars(string(sb1), string(sb2))
hunks := diff.DiffMain(scriptLines, newScriptLines, false)
hunks = diff.DiffCharsToLines(hunks, lines)
hunks = diff.DiffCleanupSemantic(hunks)
for i := 0; i < len(hunks); i++ {
switch hunk := hunks[i]; hunk.Type {
case diffmatchpatch.DiffEqual:
Expand Down

0 comments on commit 0a5c961

Please sign in to comment.