diff options
Diffstat (limited to 'lib/chef/knife/serve.rb')
-rw-r--r-- | lib/chef/knife/serve.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/serve.rb b/lib/chef/knife/serve.rb index 4cb698c968..3f97962eae 100644 --- a/lib/chef/knife/serve.rb +++ b/lib/chef/knife/serve.rb @@ -27,7 +27,7 @@ class Chef # --chef-repo-path forcibly overrides all other paths if config[:chef_repo_path] Chef::Config.chef_repo_path = config[:chef_repo_path] - %w(acl client cookbook container data_bag environment group node role user).each do |variable_name| + %w{acl client cookbook container data_bag environment group node role user}.each do |variable_name| Chef::Config.delete("#{variable_name}_path".to_sym) end end |