mirror of
https://github.com/yamadashy/repomix.git
synced 2026-11-20 06:29:20 +01:00
String() throws for a null-prototype object, so a dependency rejecting with Object.create(null) would make getErrorMessage throw where the old `(error as Error).message` cast returned undefined. Catch the conversion failure and return a fixed message instead. intent(error-message): address CodeRabbit review on #2014; the helper must never be less safe than the casts it replaced Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>