Repository navigation
Commit afc7a10
fix: address code review — idempotency guard and test assertion accuracy
- Add `if (!pkg.name || !pkg.version) continue` guard in publish.ts glob
loop to prevent crash on re-run when synthesized package.json (lacking
name/version) is picked up
- Fix test assertion to match JS object literal `type: "module"` instead
of the comment containing `"type": "module"`
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>1 parent 043c7a9 commit afc7a10
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
0 commit comments