summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteven Danna <steve@chef.io>2015-07-31 12:13:02 +0100
committerSteven Danna <steve@chef.io>2015-08-25 17:30:23 +0100
commitb33bbd1e999969aa156077155f82dfcd2b3e580e (patch)
treebaa65fb39c2f40b4bf4765bd31a7032ffb13da65 /lib
parent1b751a0b6fb7dcd3448b69d87dbc3da8a32756bf (diff)
downloadchef-b33bbd1e999969aa156077155f82dfcd2b3e580e.tar.gz
Add tests for HashedCommandLoader
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/knife/core/hashed_command_loader.rb2
1 files changed, 1 insertions, 1 deletions
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