File tree Expand file tree Collapse file tree 4 files changed +5
-15
lines changed Expand file tree Collapse file tree 4 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,6 @@ I18n/GetText/DecorateStringFormattingUsingPercent:
22
22
I18n/RailsI18n/DecorateString :
23
23
Enabled : false
24
24
25
- # This cop supports safe auto-correction (--auto-correct).
26
- # Configuration parameters: EnforcedStyle.
27
- # SupportedStyles: symmetrical, new_line, same_line
28
- Layout/MultilineArrayBraceLayout :
29
- Exclude :
30
- - ' lib/puppet/pops/model/ast.rb'
31
- - ' lib/puppet/pops/types/iterable.rb'
32
- - ' lib/puppet/pops/types/types.rb'
33
- - ' lib/puppet/type/file/content.rb'
34
- - ' lib/puppet/util/log/destinations.rb'
35
-
36
25
# This cop supports safe auto-correction (--auto-correct).
37
26
Layout/MultilineBlockLayout :
38
27
Exclude :
Original file line number Diff line number Diff line change @@ -2052,7 +2052,8 @@ def iterable_type(guard = nil)
2052
2052
PIterableType . new (
2053
2053
PTupleType . new ( [
2054
2054
PVariantType . maybe_create ( @elements . map { |se | se . key_type } ) ,
2055
- PVariantType . maybe_create ( @elements . map { |se | se . value_type } ) ] ,
2055
+ PVariantType . maybe_create ( @elements . map { |se | se . value_type } )
2056
+ ] ,
2056
2057
PHashType ::KEY_PAIR_TUPLE_SIZE ) )
2057
2058
end
2058
2059
end
Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ module Puppet
59
59
_ ( 'The literal value of the "content" property will be written to the file.' ) ,
60
60
# TRANSLATORS "static catalogs" should not be translated.
61
61
_ ( 'The checksum retrieval functionality is being replaced by the use of static catalogs.' ) ,
62
- _ ( 'See https://puppet.com/docs/puppet/latest/static_catalogs.html for more information.' ) ] . join ( " " ) ,
62
+ _ ( 'See https://puppet.com/docs/puppet/latest/static_catalogs.html for more information.' )
63
+ ] . join ( " " ) ,
63
64
:file => @resource . file ,
64
65
:line => @resource . line
65
66
) if !@actual_content && !resource . parameter ( :source )
Original file line number Diff line number Diff line change @@ -37,8 +37,7 @@ def handle(msg)
37
37
else
38
38
msg . to_s . split ( "\n " ) . each do |line |
39
39
@syslog . send ( msg . level , "(%s) %s" % [ msg . source . to_s . delete ( "%" ) ,
40
- line . gsub ( "%" , '%%' )
41
- ]
40
+ line . gsub ( "%" , '%%' ) ]
42
41
)
43
42
end
44
43
end
You can’t perform that action at this time.
0 commit comments