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

Syntax error in Rules file raises unrelated error #1107

Closed
ddfreyne opened this issue Mar 5, 2017 · 0 comments
Closed

Syntax error in Rules file raises unrelated error #1107

ddfreyne opened this issue Mar 5, 2017 · 0 comments
Milestone

Comments

@ddfreyne
Copy link
Member

@ddfreyne ddfreyne commented Mar 5, 2017

Steps to reproduce

Create an empty site with a Rules file containing

compile '/**/*.html' do
  garbage(data/**/*)
end

Then compile.

Expected behavior

SyntaxError raised

Actual behavior

NoMethodError: undefined method `reverse_each' for nil:NilClass
@ddfreyne ddfreyne added this to the 4.6.3 milestone Mar 5, 2017
ddfreyne added a commit that referenced this issue Mar 5, 2017
Fix undefined method reverse_each
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant