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: extract set_run_flags logic as named helper #10012

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

erikareads
Copy link
Contributor

Description

Refactors the logic in run related to setting run flags into a named helper.

If you're not dealing with Watch or Run, this logic is a barrier to understanding how run works, extracting this logic into a helper makes it easier to read run's logic.

The set_run_flags helper uses the same mutation of command that was previously present in the run function body, but future work could include removing the necessity for mutation.

@turbo-orchestrator turbo-orchestrator bot added the needs: triage New issues get this label. Remove it after triage label Feb 19, 2025
Copy link

vercel bot commented Feb 19, 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 19, 2025 10:16pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 10:16pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 10:16pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 10:16pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 10:16pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 10:16pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 10:16pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 10:16pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 10:16pm

@erikareads erikareads marked this pull request as ready for review February 19, 2025 22:16
@erikareads erikareads requested a review from a team as a code owner February 19, 2025 22:16
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