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

Projects
None yet
3 participants
@btheado
Contributor

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.

@cmontella

Looks okay to me

@joshuafcole

👍 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