diff options
author | Tim Smith <tsmith84@gmail.com> | 2019-12-20 15:16:38 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2019-12-29 18:07:08 -0800 |
commit | dad360173bb575c17daa531021e80064f6fefded (patch) | |
tree | 4970b784cd91554edebc82e38d8418e26aa4ff6d /lib/chef_zero/endpoints/role_endpoint.rb | |
parent | 7c856ba33f5bda1eb636843e3968214cc140141a (diff) | |
download | chef-zero-dad360173bb575c17daa531021e80064f6fefded.tar.gz |
Substitute require for require_relative
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/role_endpoint.rb')
-rw-r--r-- | lib/chef_zero/endpoints/role_endpoint.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef_zero/endpoints/role_endpoint.rb b/lib/chef_zero/endpoints/role_endpoint.rb index 4e31cdc..acef570 100644 --- a/lib/chef_zero/endpoints/role_endpoint.rb +++ b/lib/chef_zero/endpoints/role_endpoint.rb @@ -1,6 +1,6 @@ require "ffi_yajl" -require "chef_zero/endpoints/rest_object_endpoint" -require "chef_zero/chef_data/data_normalizer" +require_relative "rest_object_endpoint" +require_relative "../chef_data/data_normalizer" module ChefZero module Endpoints |