File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
lib/puppet/util/command_line Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -762,12 +762,6 @@ Style/TrailingUnderscoreVariable:
762
762
Style/TrivialAccessors :
763
763
Enabled : false
764
764
765
- # This cop supports safe auto-correction (--auto-correct).
766
- Style/VariableInterpolation :
767
- Exclude :
768
- - ' lib/puppet/util/command_line/trollop.rb'
769
- - ' lib/puppet/util/rdoc/generators/puppet_generator.rb'
770
-
771
765
# This cop supports safe auto-correction (--auto-correct).
772
766
Style/WhenThen :
773
767
Enabled : false
Original file line number Diff line number Diff line change @@ -491,7 +491,7 @@ def educate stream = $stdout
491
491
rightcol_start = leftcol_width + 6 # spaces
492
492
493
493
unless @order . size > 0 && @order . first . first == :text
494
- stream . puts "#@version \n " if @version
494
+ stream . puts "#{ @version } \n " if @version
495
495
stream . puts _ ( "Options:" )
496
496
end
497
497
You can’t perform that action at this time.
0 commit comments