Skip to content

Commit

Permalink
[field] PT: fix invalid condition (must look for everything not 'unch…
Browse files Browse the repository at this point in the history
…anged')
  • Loading branch information
skogsmaskin authored and rexxars committed Oct 6, 2020
1 parent cbd0287 commit 98a9a93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export function findSpanDiffFromChild(
// Find span in original diff which has a string segment similar to the one from the input
const candidate =
diff.fields.children &&
diff.fields.children.action === 'changed' &&
diff.fields.children.action !== 'unchanged' &&
diff.fields.children.type === 'array' &&
diff.fields.children.items.find(
item =>
Expand Down

0 comments on commit 98a9a93

Please sign in to comment.