Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: change use of map_or to map and unwrap_or in cli helper #10018

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

erikareads
Copy link
Contributor

Description

Refactor to replace map_or with map and unwrap_or. The separation of these two steps makes it clear in the code that the unwrap_or case is the default, where it was obscured by the density and argument order of map_or before.

@erikareads erikareads requested a review from a team as a code owner February 20, 2025 18:19
@turbo-orchestrator turbo-orchestrator bot added the needs: triage New issues get this label. Remove it after triage label Feb 20, 2025
Copy link

vercel bot commented Feb 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2025 6:20pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2025 6:20pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2025 6:20pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2025 6:20pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2025 6:20pm
examples-nonmonorepo 🔄 Building (Inspect) Feb 20, 2025 6:20pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2025 6:20pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2025 6:20pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2025 6:20pm

@erikareads erikareads merged commit 8fa7f85 into main Feb 21, 2025
39 checks passed
@erikareads erikareads deleted the erikarowland/refactor-remove-map_or-for-clarity branch February 21, 2025 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: triage New issues get this label. Remove it after triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants