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

Exclude blank args from subcommand parsing #94

Merged
merged 1 commit into from May 13, 2022

Conversation

andrii-zakurenyi
Copy link
Contributor

Fixes "index out of range" panic which is caused by checking the first character in blank argument.

panic: runtime error: index out of range [0] with length 0 [recovered]
        panic: runtime error: index out of range [0] with length 0

@mitchellh
Copy link
Owner

Thank you!

@mitchellh mitchellh merged commit 25f4c7c into mitchellh:main May 13, 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 this pull request may close these issues.

None yet

2 participants