summaryrefslogtreecommitdiff
path: root/lib/chef/knife
diff options
context:
space:
mode:
authorKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-03-16 16:06:00 -0400
committerKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-03-20 11:22:30 -0400
commitd2dd332132fef834a55b7ad21eba6b2312cc5a27 (patch)
tree07ed62f2501980f5dbf841f662f2c2f48633178e /lib/chef/knife
parent8adb5e38a31f47d84fcac6c825b5bd9279ba6aac (diff)
downloadchef-d2dd332132fef834a55b7ad21eba6b2312cc5a27.tar.gz
Fixup all specs to reference PathHelper.home.
Diffstat (limited to 'lib/chef/knife')
-rw-r--r--lib/chef/knife/core/subcommand_loader.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/core/subcommand_loader.rb b/lib/chef/knife/core/subcommand_loader.rb
index 915042175e..ce7ef9deaa 100644
--- a/lib/chef/knife/core/subcommand_loader.rb
+++ b/lib/chef/knife/core/subcommand_loader.rb
@@ -28,8 +28,8 @@ class Chef
attr_reader :chef_config_dir
attr_reader :env
- def initialize(chef_config_dir, env=ENV)
- @chef_config_dir, @env = chef_config_dir, env
+ def initialize(chef_config_dir)
+ @chef_config_dir = chef_config_dir
@forced_activate = {}
end