lib/chef/knife/upload_essentials.rb in knife-essentials-0.8.4 vs lib/chef/knife/upload_essentials.rb in knife-essentials-0.8.5

- old
+ new

@@ -42,10 +42,10 @@ exit 1 end error = false pattern_args.each do |pattern| - error ||= ChefFS::FileSystem.copy_to(pattern, local_fs, chef_fs, config[:recurse] ? nil : 1, config, ui, proc { |entry| format_path(entry.path) }) + error ||= ChefFS::FileSystem.copy_to(pattern, local_fs, chef_fs, config[:recurse] ? nil : 1, config, ui, proc { |entry| format_path(entry) }) end if error exit 1 end end