summaryrefslogtreecommitdiff
path: root/lib/chef/knife/cookbook_bulk_delete.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-08-09 12:26:41 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-08-16 18:41:25 -0700
commit395b612eed722f0cbb395082aa7ea157d74d65e6 (patch)
tree0f10548379dc8e31a4b35f01cf399d611b00a24c /lib/chef/knife/cookbook_bulk_delete.rb
parentc030f338ab37a5ce16de5b31006a278ac3767ca4 (diff)
downloadchef-395b612eed722f0cbb395082aa7ea157d74d65e6.tar.gz
auotfixing Style/SpaceAfterSemicolon cop
Diffstat (limited to 'lib/chef/knife/cookbook_bulk_delete.rb')
-rw-r--r--lib/chef/knife/cookbook_bulk_delete.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/cookbook_bulk_delete.rb b/lib/chef/knife/cookbook_bulk_delete.rb
index bd1c8a22cc..cdd1584e36 100644
--- a/lib/chef/knife/cookbook_bulk_delete.rb
+++ b/lib/chef/knife/cookbook_bulk_delete.rb
@@ -42,7 +42,7 @@ class Chef
all_cookbooks = Chef::CookbookVersion.list
cookbooks_names = all_cookbooks.keys.grep(regex)
- cookbooks_to_delete = cookbooks_names.inject({}) { |hash, name| hash[name] = all_cookbooks[name];hash }
+ cookbooks_to_delete = cookbooks_names.inject({}) { |hash, name| hash[name] = all_cookbooks[name]; hash }
ui.msg "All versions of the following cookbooks will be deleted:"
ui.msg ""
ui.msg ui.list(cookbooks_to_delete.keys.sort, :columns_down)