Skip to content

fix IndexOutOfRangeException when ConsoleAppFilterAttribute is defined above CommandAttribute#135

Merged
neuecc merged 1 commit into
Cysharp:masterfrom
pierre3:master
Jul 24, 2024
Merged

fix IndexOutOfRangeException when ConsoleAppFilterAttribute is defined above CommandAttribute#135
neuecc merged 1 commit into
Cysharp:masterfrom
pierre3:master

Conversation

@pierre3
Copy link
Copy Markdown
Contributor

@pierre3 pierre3 commented Jul 24, 2024

fix for #134.
The cause of this issue was that we were referencing the first element of the attribute list (GetAttributes()[0]) when retrieving the command name.

Please review the code changes.

@neuecc
Copy link
Copy Markdown
Member

neuecc commented Jul 24, 2024

Oh, thanks! Perfect!

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