forked from puppetlabs/puppet-strings
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(puppetlabs#302) Fix warnings generated by ERB.new
This has to special case Ruby <2.6.0 since those versions will interpret the keyword argument as a hash passed as the second argument. Without this change running this code in Ruby 2.6+ will generate warnings about the parameters passed to `ERB.new`.
- Loading branch information
1 parent
dba16ed
commit fa4b232
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters