Skip to content

Commit

Permalink
cookstyle fixes
Browse files Browse the repository at this point in the history
Signed-off-by: nikhil2611 <[email protected]>
  • Loading branch information
nikhil2611 committed Sep 24, 2024
1 parent aac4bd2 commit e373856
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/chef/knife/mixin/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ def check_value(value, parent_key = nil)
value.each { |item| check_value(item, parent_key) }
elsif value.is_a?(Hash)
value.each do |key, nested_value|
next if key == 'password' # Skip the password key
next if key == "password" # Skip the password key

check_value(nested_value, key)
end
else
Expand Down

0 comments on commit e373856

Please sign in to comment.