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 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 left a comment

Looks okay to me

Copy link
Contributor

joshuafcole left a comment

👍 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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.