diff options
author | Ryan Davis <ryand-ruby@zenspider.com> | 2020-03-06 17:46:03 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-03-16 11:56:53 -0700 |
commit | 6e826423e240d71017a4fc9ab9f25f490ec859ad (patch) | |
tree | 255da99fccd2a05a793731b172e8be9ea18b6b07 /lib/chef/application.rb | |
parent | 49ad29e0b7607103e32853fc8e3cf67c6d308b90 (diff) | |
download | chef-6e826423e240d71017a4fc9ab9f25f490ec859ad.tar.gz |
Fix all(?) circular requires coming from the specs.
Lots more in lib, but that's out of scope for this. I'm just trying to
make it easier to debug a failing spec when needed.
Signed-off-by: Ryan Davis <zenspider@chef.io>
Diffstat (limited to 'lib/chef/application.rb')
-rw-r--r-- | lib/chef/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/application.rb b/lib/chef/application.rb index 02d4a4bacb..9e92c4e8c6 100644 --- a/lib/chef/application.rb +++ b/lib/chef/application.rb @@ -19,7 +19,6 @@ require "pp" unless defined?(PP) require "socket" unless defined?(Socket) require_relative "config" -require_relative "config_fetcher" require_relative "exceptions" require_relative "local_mode" require_relative "log" @@ -119,6 +118,7 @@ class Chef # @api private (test injection) def chef_configfetcher + require_relative "config_fetcher" Chef::ConfigFetcher end |