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

Improve turbo prune error messaging when a scope is invalid #703

Closed
rmolinamir opened this issue Feb 8, 2022 · 0 comments · Fixed by #826
Closed

Improve turbo prune error messaging when a scope is invalid #703

rmolinamir opened this issue Feb 8, 2022 · 0 comments · Fixed by #826

Comments

@rmolinamir
Copy link

rmolinamir commented Feb 8, 2022

Describe the feature you'd like to request

Currently, turbo prune outputs the following error whenever a scope is invalid (e.g. it doesn't match any of the package.jsons names):

$ RUN turbo prune --scope=web --docker:
9 0.418 panic: runtime error: invalid memory address or nil pointer dereference
9 0.418 [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7d4121]

Describe the solution you'd like

Better error messaging, indicating the invalid scope when using turbo prune.

Describe alternatives you've considered

N/A

@m-shaka m-shaka mentioned this issue Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant