Skip to content

Commit

Permalink
fix(map): pasting signatures would not update existing sigs
Browse files Browse the repository at this point in the history
  • Loading branch information
updraft0 committed Jun 11, 2024
1 parent 54a06fc commit 1757c22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ private def diffExistingWithScanned(
scannedMap.keySet.diff(existingMap.keySet)
)
else
(existingMap.keySet.diff(scannedMap.keySet), Set.empty[SigId], scannedMap.keySet.diff(existingMap.keySet))
(existingMap.keySet.intersect(scannedMap.keySet), Set.empty[SigId], scannedMap.keySet.diff(existingMap.keySet))

(potentialDiffs.toList.map(sigId => compareSigs(existingMap(sigId), scannedMap.get(sigId))) :::
removed.toList.map(sigId => SignatureUpdate.Removed(existingMap(sigId))) :::
Expand Down

0 comments on commit 1757c22

Please sign in to comment.