summaryrefslogtreecommitdiff
path: root/lib/chef/knife/show.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/show.rb')
-rw-r--r--lib/chef/knife/show.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/show.rb b/lib/chef/knife/show.rb
index 0e5ab9d0fe..7bce07dfcf 100644
--- a/lib/chef/knife/show.rb
+++ b/lib/chef/knife/show.rb
@@ -36,7 +36,7 @@ class Chef
def run
# Get the matches (recursively)
error = false
- entry_values = parallelize(pattern_args) do |pattern|
+ entry_values = parallelize(pattern_args) { |pattern|
parallelize(Chef::ChefFS::FileSystem.list(config[:local] ? local_fs : chef_fs, pattern)) do |entry|
if entry.dir?
ui.error "#{format_path(entry)}: is a directory" if pattern.exact_path
@@ -56,7 +56,7 @@ class Chef
end
end
end
- end.flatten(1)
+ }.flatten(1)
entry_values.each do |entry, value|
if entry
output "#{format_path(entry)}:"