summaryrefslogtreecommitdiff
path: root/lib/chef/mixin/which.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/mixin/which.rb')
-rw-r--r--lib/chef/mixin/which.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/mixin/which.rb b/lib/chef/mixin/which.rb
index ffa324c911..e373a52521 100644
--- a/lib/chef/mixin/which.rb
+++ b/lib/chef/mixin/which.rb
@@ -18,7 +18,7 @@
class Chef
module Mixin
module Which
- require "chef/chef_class"
+ require_relative "../chef_class"
def which(*cmds, extra_path: nil, &block)
where(*cmds, extra_path: extra_path, &block).first || false