File tree Expand file tree Collapse file tree 4 files changed +4
-11
lines changed Expand file tree Collapse file tree 4 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -649,13 +649,6 @@ Lint/NestedMethodDefinition:
649
649
- ' lib/puppet/pops/types/types.rb'
650
650
- ' lib/puppet/type.rb'
651
651
652
- # This cop supports safe auto-correction (--auto-correct).
653
- Lint/ParenthesesAsGroupedExpression :
654
- Exclude :
655
- - ' lib/puppet/face/epp.rb'
656
- - ' lib/puppet/face/parser.rb'
657
- - ' lib/puppet/util/retry_action.rb'
658
-
659
652
# This cop supports safe auto-correction (--auto-correct).
660
653
Lint/RedundantCopDisableDirective :
661
654
Exclude :
Original file line number Diff line number Diff line change 103
103
end
104
104
105
105
106
- action ( :dump ) do
106
+ action ( :dump ) do
107
107
summary _ ( "Outputs a dump of the internal template parse tree for debugging" )
108
108
arguments "[--format <old|pn|json>] [--pretty] { -e <source> | [<templates> ...] } "
109
109
returns _ ( "A dump of the resulting AST model unless there are syntax or validation errors." )
204
204
end
205
205
end
206
206
207
- action ( :render ) do
207
+ action ( :render ) do
208
208
summary _ ( "Renders an epp template as text" )
209
209
arguments "-e <source> | [<templates> ...] "
210
210
returns _ ( "A rendered result of one or more given templates." )
Original file line number Diff line number Diff line change 101
101
end
102
102
103
103
104
- action ( :dump ) do
104
+ action ( :dump ) do
105
105
summary _ ( "Outputs a dump of the internal parse tree for debugging" )
106
106
arguments "[--format <old|pn|json>] [--pretty] { -e <source> | [<templates> ...] } "
107
107
returns _ ( "A dump of the resulting AST model unless there are syntax or validation errors." )
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def self.retry_action(options = {})
38
38
39
39
# Increase the amount of time that we sleep after every
40
40
# failed retry attempt.
41
- sleep ( ( ( 2 ** failures ) -1 ) * 0.1 )
41
+ sleep ( ( ( 2 ** failures ) -1 ) * 0.1 )
42
42
43
43
retry
44
44
You can’t perform that action at this time.
0 commit comments