fix: prompt when network argument is empty - #407
Conversation
|
This PR targeted I retargeted it to |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthrough
ChangesNetwork selection
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This localized change makes an empty network argument open the interactive selector, with no actionable merge-blocking risk remaining after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
Closes #306
Summary
Treat an empty network argument as omitted so
genlayer network set ""opens the interactive network selector instead of attempting to resolve an empty alias.Changes
Validation
git diff --checkpassed. Local Vitest and TypeScript binaries were unavailable in the sandbox.Summary by CodeRabbit