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

Allow commands with no parameters to compile #20

Merged
merged 1 commit into from
Jun 12, 2021
Merged

Conversation

FiniteReality
Copy link
Owner

Fixes #16 by detecting when there are no parameters and using Array.Empty<T>() instead of empty arrays which cause compile errors.

@FiniteReality
Copy link
Owner Author

TODO: unit test this as part of #10

@FiniteReality FiniteReality merged commit 02f7615 into main Jun 12, 2021
@FiniteReality FiniteReality deleted the issue/16 branch June 12, 2021 11:19
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.

Failure to compile when no parameters are given to a command
1 participant