mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-06-11 02:33:10 +08:00
Review follow-up (CodeRabbit + cubic): switching to safeParseJson at line 389 means packageJson can be null on a missing/malformed package.json, but the quality-ci-validations check dereferenced packageJson.scripts before the optional chaining could help — throwing TypeError instead of degrading. Guard the base object with packageJson?.scripts?.test at the access site, matching the file's existing convention (e.g. line 220 uses packageJson?.name). Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
24 KiB
24 KiB