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

refactor: result-code types for cmd-functions #70

Merged
merged 2 commits into from
Dec 20, 2023
Merged

refactor: result-code types for cmd-functions #70

merged 2 commits into from
Dec 20, 2023

Conversation

ComradeVanti
Copy link
Collaborator

The cmd functions currently always only return 0 or 1. Add types to express this in their signature. Every function gets their own type in preparation for potentially more codes that are not shared between functions.

ComradeVanti and others added 2 commits December 20, 2023 16:47
The cmd functions currently always only return 0 or 1. Add types to express this in their signature. Every function gets their own type in preparation for potentially more codes that are not shared between functions.
@favoyang favoyang merged commit 675eadb into openupm:master Dec 20, 2023
2 checks passed
@ComradeVanti ComradeVanti deleted the cmd-return-codes branch December 20, 2023 15:58
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 this pull request may close these issues.

2 participants