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

Prevent exception from program which parses to no code blocks #850

Merged
merged 1 commit into from
Jun 20, 2017

Conversation

btheado
Copy link
Contributor

@btheado btheado commented Jun 20, 2017

Program.inputEAVs throws an exception when the input eav array is empty, so Program.load shouldn't call it when no code blocks are returned from parsing the document.

Copy link
Contributor

@cmontella cmontella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks okay to me

Copy link
Contributor

@joshuafcole joshuafcole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Good catch, thanks!

@joshuafcole joshuafcole merged commit b450df3 into witheve:master Jun 20, 2017
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.

3 participants