Skip to content

Commit

Permalink
refactor: small simplification in array change records
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect authored and nicholasrice committed May 3, 2022
1 parent 47ea5e3 commit 5c39a45
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ function spliceOperationsFromEditDistances(distances: number[][]): number[] {
}
}

edits.reverse();
return edits;
return edits.reverse();
}

function sharedPrefix(current: any[], old: any[], searchLength: number): number {
Expand Down

0 comments on commit 5c39a45

Please sign in to comment.