Skip to content

Commit ca34298

Browse files
authored
Merge pull request #12 from puppetlabs/bug-update_suggestion_for_has_key
(bug) - Corrects suggestion for has_key method
2 parents ff33352 + 09daa25 commit ca34298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet-lint/plugins/stdlib_deprecated_functions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'size' => 'length()',
2020
'sprintf_hash' => 'sprintf()',
2121
'hash' => 'Puppets built-in Hash.new()',
22-
'has_key' => 'appropriate Puppet match expressions'
22+
'has_key' => '"if \'key\' in $my_hash"'
2323
}.freeze
2424

2525
# These functions have been namespaced in stdlib 9.x.

0 commit comments

Comments
 (0)