fix: create dist directory before writing client.js#77
Conversation
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
|
Caution Review failedThe pull request is closed. WalkthroughTwo files modified: directory creation logic added to build script to ensure Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
bun run build実行時にdistディレクトリが存在しない場合にエラーになる問題を修正Changes
scripts/generate-client.ts:dist/client.jsを書き込む前にmkdirSync('dist', { recursive: true })でディレクトリを作成Test plan
bun run buildがクリーンな状態から正常に実行される🤖 Generated with Claude Code
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.