summaryrefslogtreecommitdiff
path: root/lib/chef/knife/config_list.rb
diff options
context:
space:
mode:
authorMarc A. Paradise <marc.paradise@gmail.com>2021-03-02 13:19:36 -0500
committerMarc A. Paradise <marc.paradise@gmail.com>2021-03-02 14:44:20 -0500
commit4471dd7252f69c222d81c7b203fc0de4d4ffd8a6 (patch)
tree4f71d1203b5e7233010331ce99093cf3147cd84a /lib/chef/knife/config_list.rb
parentcba34eeb9074e271fcb5c78bfbf7afa425f7e889 (diff)
downloadchef-4471dd7252f69c222d81c7b203fc0de4d4ffd8a6.tar.gz
Prepare files for knife-gem split
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
Diffstat (limited to 'lib/chef/knife/config_list.rb')
-rw-r--r--lib/chef/knife/config_list.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/config_list.rb b/lib/chef/knife/config_list.rb
index c9f821e2a8..be80ded3b2 100644
--- a/lib/chef/knife/config_list.rb
+++ b/lib/chef/knife/config_list.rb
@@ -25,7 +25,7 @@ class Chef
TABLE_HEADER ||= [" Profile", "Client", "Key", "Server"].freeze
deps do
- require_relative "../workstation_config_loader"
+ require "chef/workstation_config_loader" unless defined?(Chef::WorkstationConfigLoader)
require "tty-screen" unless defined?(TTY::Screen)
require "tty-table" unless defined?(TTY::Table)
end