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

Avoid panic when the command line ends in 'then' #1033

Merged
merged 1 commit into from
Jun 4, 2022
Merged

Conversation

johnkerl
Copy link
Owner

@johnkerl johnkerl commented Jun 3, 2022

Before:

$ mlr --csv --from x head -n 10 then
panic: runtime error: index out of range [8] with length 8

After:

$ mlr --csv --from x head -n 10 then
mlr: 'then' must have a verb after it

@johnkerl johnkerl merged commit e905587 into main Jun 4, 2022
@johnkerl johnkerl deleted the kerl/then-final branch June 4, 2022 15:29
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.

1 participant