Skip to content

Commit 8794ec0

Browse files
committed
Auto-correct Rubocop offenses
1 parent d161413 commit 8794ec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/puppet-lint/plugins/check_parameter_documentation.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def check
8383
private
8484

8585
def type_str(idx)
86-
idx[:type] == :CLASS ? 'class' : 'defined type'
86+
(idx[:type] == :CLASS) ? 'class' : 'defined type'
8787
end
8888

8989
def extract_params(idx)

0 commit comments

Comments
 (0)