Commit 22337e9
committed
fix(catalog): preserve GitHub stars when merging local workspace entry over remote
scanLocal always sets stars: 0. When a local package also exists in the GitHub
catalog, the ...item spread was overwriting prev.stars with 0. Now stars from
the remote entry are explicitly preserved via stars: prev.stars ?? 0.1 parent b1c463b commit 22337e9
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| 315 | + | |
315 | 316 | | |
316 | 317 | | |
317 | 318 | | |
| |||
0 commit comments