From e373856d92f02df17ac4952f409ce992769e1a8b Mon Sep 17 00:00:00 2001 From: nikhil2611 Date: Tue, 24 Sep 2024 16:47:22 +0530 Subject: [PATCH] cookstyle fixes Signed-off-by: nikhil2611 --- lib/chef/knife/mixin/helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/chef/knife/mixin/helper.rb b/lib/chef/knife/mixin/helper.rb index dbde8e7..daec93c 100644 --- a/lib/chef/knife/mixin/helper.rb +++ b/lib/chef/knife/mixin/helper.rb @@ -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