Skip to content

Commit d1062a0

Browse files
committed
(CONT-807) Correct Style/WordArray
1 parent 87e38e8 commit d1062a0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/puppetlabs_spec_helper/rake_tasks.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,14 @@
165165
PuppetLint.configuration.ignore_paths << 'tests/**/*.pp'
166166
PuppetLint.configuration.ignore_paths << 'types/**/*.pp'
167167
PuppetLint.configuration.ignore_paths << 'vendor/**/*.pp'
168-
puppet_lint_disable_checks = [
169-
'80chars',
170-
'140chars',
171-
'class_inherits_from_params_class',
172-
'class_parameter_defaults',
173-
'disable_autoloader_layout',
174-
'documentation',
175-
'single_quote_string_with_variables'
168+
puppet_lint_disable_checks = %w[
169+
80chars
170+
140chars
171+
class_inherits_from_params_class
172+
class_parameter_defaults
173+
disable_autoloader_layout
174+
documentation
175+
single_quote_string_with_variables
176176
]
177177

178178
puppet_lint_disable_checks.each do |check|
@@ -383,7 +383,7 @@ def changelog_future_release
383383
},
384384
'Added' => {
385385
'prefix' => '### Added',
386-
'labels' => ['feature', 'enhancement']
386+
'labels' => %w[feature enhancement]
387387
},
388388
'Fixed' => {
389389
'prefix' => '### Fixed',

0 commit comments

Comments
 (0)