From bc7687e56763cedbd010cfd566aa2fc0c53bb194 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Wed, 8 May 2019 17:03:26 -0700 Subject: Convert require to require_relative This gives a speed boost since rubygems does not have to scan through every gem in the gemset in order to find the file. Signed-off-by: Lamont Granquist --- lib/chef/resource/windows_service.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/chef/resource/windows_service.rb') diff --git a/lib/chef/resource/windows_service.rb b/lib/chef/resource/windows_service.rb index 33805ed482..6853d539ab 100644 --- a/lib/chef/resource/windows_service.rb +++ b/lib/chef/resource/windows_service.rb @@ -16,8 +16,8 @@ # limitations under the License. # -require "chef/resource/service" -require "chef/win32_service_constants" +require_relative "service" +require_relative "../win32_service_constants" class Chef class Resource -- cgit v1.2.1