fix existing output directory issue#45
Conversation
- `output_dir` overrides `args.output` in `run_prism`. If the former is `None` (default value), `args.output` is used
📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Addressing #38
output_diroverridesargs.outputinrun_prism. If the former isNone(default value),args.outputis usedos.makedirs(output_dir, exist_ok=True)handles existing output directory correctly.Summary by CodeRabbit