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

Rework array length checks #16

Merged
merged 1 commit into from
Jan 28, 2018
Merged

Conversation

deoren
Copy link
Collaborator

@deoren deoren commented Jan 28, 2018

Using the 'set -u' flag triggers 'unbound variable' errors
in cases where the array length may be empty. I have reworked
the checks to use what appears to be an arcane construct for
handling empty arrays properly.

refs #9

Using the 'set -u' flag triggers 'unbound variable' errors
in cases where the array length may be empty. I have reworked
the checks to use what appears to be an arcane construct for
handling empty arrays properly.

refs WhyAskWhy#9
@deoren deoren self-assigned this Jan 28, 2018
@deoren deoren merged commit 25e0bcd into WhyAskWhy:master Jan 28, 2018
@deoren deoren deleted the i9-unbound-variables branch January 28, 2018 07:00
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