Skip to content

Commit

Permalink
fix: incorrect identification of renamed tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjhicks authored and GarthDB committed Oct 10, 2024
1 parent 3dff601 commit e360529
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/diff-generator/src/lib/renamed-token-detection.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export default function detectRenamedTokens(original, added) {
Object.keys(added).forEach((change) => {
Object.keys(original).forEach((originalToken) => {
if (
added[change].uuid &&
original[originalToken].uuid &&
original[originalToken].uuid === added[change].uuid &&
originalToken !== change
) {
Expand Down

0 comments on commit e360529

Please sign in to comment.