Commit 7caf0dd
committed
fix: guard leiden-native-parity skip condition against stale native addon
hasNative only checked that the addon loaded, not that it exports
leidenCommunities. A cached addon predating this binding would make
assertParity silently degrade to a JS-vs-JS comparison, or
runNativeDirect throw a confusing TypeError on its non-null assertion.1 parent 306ce69 commit 7caf0dd
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
0 commit comments