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

Properly render ERB templates that do not have variables #516

Merged
merged 1 commit into from
Jul 29, 2015

Conversation

ryancragun
Copy link
Contributor

Fixes an error when rendering an ERB template that does not contain variables

Builder: chef-marketplace-cookbooks] I | Build chef-marketplace-cookbooks: 0.7814s
/home/vagrant/.gem/ruby/2.1.5/bundler/gems/omnibus-e28303ad28a6/lib/omnibus/templating.rb:56:in `new': wrong number of arguments (0 for 1+) (ArgumentError)
        from /home/vagrant/.gem/ruby/2.1.5/bundler/gems/omnibus-e28303ad28a6/lib/omnibus/templating.rb:56:in `render_template'

@schisamo
Copy link
Contributor

👍

/cc @chef/omnibus-maintainers

@sethvargo
Copy link
Contributor

👍

ryancragun added a commit that referenced this pull request Jul 29, 2015
Properly render ERB templates that do not have variables
@ryancragun ryancragun merged commit 9c918be into master Jul 29, 2015
@yzl yzl removed the in progress label Jul 29, 2015
@ryancragun ryancragun deleted the ryan/templating branch July 29, 2015 16:15
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.

5 participants