summaryrefslogtreecommitdiff
path: root/lib/chef_zero/endpoints/cookbook_endpoint.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-12-20 15:16:38 -0800
committerTim Smith <tsmith84@gmail.com>2019-12-20 15:16:38 -0800
commit74b9673be117f505f4905c285f8bfc106302748b (patch)
treedad1dbd24c84b3bc8ec6e5df0696248b798cdb3b /lib/chef_zero/endpoints/cookbook_endpoint.rb
parent0778c7c2629e519b02842123fdbaa766911b79cd (diff)
downloadchef-zero-relative.tar.gz
Substitute require for require_relativerelative
require_relative is significantly faster and should be used when available. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef_zero/endpoints/cookbook_endpoint.rb')
-rw-r--r--lib/chef_zero/endpoints/cookbook_endpoint.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/endpoints/cookbook_endpoint.rb b/lib/chef_zero/endpoints/cookbook_endpoint.rb
index 8c4d49d..d2d58ef 100644
--- a/lib/chef_zero/endpoints/cookbook_endpoint.rb
+++ b/lib/chef_zero/endpoints/cookbook_endpoint.rb
@@ -1,4 +1,4 @@
-require "chef_zero/endpoints/cookbooks_base"
+require_relative "cookbooks_base"
module ChefZero
module Endpoints