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

Handle nil templates #96

Merged
merged 2 commits into from
Mar 13, 2019
Merged

Conversation

vanessaramirez
Copy link
Contributor

This follows up on PR #77 and fixes issue #85

We've added test coverage as you asked in the other PR, let us know if there are other changes you'd like.

Templates are nil when a guard statement results in an early return
e.g. <%= return unless foo.bar %>
@mattbrictson
Copy link
Collaborator

Excellent, thanks! Love the test coverage here ❤️

@mattbrictson mattbrictson merged commit 32c736f into brentd:master Mar 13, 2019
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.

2 participants