summaryrefslogtreecommitdiff
path: root/lib/chef/platform/service_helpers.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-08-12 14:34:47 -0700
committerTim Smith <tsmith84@gmail.com>2020-08-12 14:34:47 -0700
commit0a2f993c69dc4d5644067bf8ae6f6bb078bf522b (patch)
tree831047783d2ed214bbf11921db94364f4c9adcd3 /lib/chef/platform/service_helpers.rb
parent53dcbe99d02e4514ff19ca55add795686b2dfc13 (diff)
downloadchef-require_optimization.tar.gz
Optimize requires for non-omnibus installsrequire_optimization
Only require external libraries if we need to. Also use require_relative everywhere we can. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/platform/service_helpers.rb')
-rw-r--r--lib/chef/platform/service_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/platform/service_helpers.rb b/lib/chef/platform/service_helpers.rb
index 627fd8d694..8f492260b0 100644
--- a/lib/chef/platform/service_helpers.rb
+++ b/lib/chef/platform/service_helpers.rb
@@ -18,7 +18,7 @@
require_relative "../chef_class"
require "chef-utils" unless defined?(ChefUtils::CANARY)
-require "chef/mixin/chef_utils_wiring" unless defined?(Chef::Mixin::ChefUtilsWiring)
+require_relative "../mixin/chef_utils_wiring" unless defined?(Chef::Mixin::ChefUtilsWiring)
class Chef
class Platform