Skip to content

Commit

Permalink
rubocop: autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Jul 7, 2023
1 parent 84330c4 commit 93a6e89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require:

AllCops:
NewCops: enable
TargetRubyVersion: '2.4'
TargetRubyVersion: '2.7'
Exclude:
- vendor/**/*

Expand Down
2 changes: 1 addition & 1 deletion lib/puppet-syntax/templates.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def validate_erb(filename)
erb = if RUBY_VERSION >= '2.6'
ERB.new(template, trim_mode: '-')
else
ERB.new(template, nil, '-')
ERB.new(template, trim_mode: '-')
end
erb.filename = filename
erb.result
Expand Down

0 comments on commit 93a6e89

Please sign in to comment.