From b33bbd1e999969aa156077155f82dfcd2b3e580e Mon Sep 17 00:00:00 2001 From: Steven Danna Date: Fri, 31 Jul 2015 12:13:02 +0100 Subject: Add tests for HashedCommandLoader --- lib/chef/knife/core/hashed_command_loader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/chef/knife/core/hashed_command_loader.rb b/lib/chef/knife/core/hashed_command_loader.rb index 9d129acf45..6eb3635726 100644 --- a/lib/chef/knife/core/hashed_command_loader.rb +++ b/lib/chef/knife/core/hashed_command_loader.rb @@ -59,7 +59,7 @@ class Chef if File.exists?(sc) Kernel.load sc else - puts "Plugin '#{sc}' is missing for subcommand '#{subcommand_for_args(args)}'. Please rehash to update the subcommands cache." + Chef::Log.error "The file #{sc} is missing for subcommand '#{subcommand_for_args(args)}'. Please rehash to update the subcommands cache." return false end end -- cgit v1.2.1