summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-10 13:37:43 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-10 13:37:43 -0800
commit04004d24a79908bebc6236462cb8d0b385b6c16b (patch)
treeb6d315c4ca35560e64b275618df673a38afca9ce
parent9e480a6944f3671d280ee0cf3c164dcde7c6a027 (diff)
downloadchef-04004d24a79908bebc6236462cb8d0b385b6c16b.tar.gz
rubocop demands a sacrificelcg/remove-rm-rf
-rw-r--r--lib/chef/application/solo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/application/solo.rb b/lib/chef/application/solo.rb
index e73149f1ef..3917a080b9 100644
--- a/lib/chef/application/solo.rb
+++ b/lib/chef/application/solo.rb
@@ -220,7 +220,7 @@ class Chef::Application::Solo < Chef::Application
Chef::Log.deprecation("-r MUST be changed to --recipe-url, the -r option will be changed in Chef 13.0") if ARGV.include?("-r")
if Chef::Config[:recipe_url]
- cookbooks_path = Array(Chef::Config[:cookbook_path]).detect{|e| Pathname.new(e).cleanpath.to_s =~ /\/cookbooks\/*$/ }
+ cookbooks_path = Array(Chef::Config[:cookbook_path]).detect { |e| Pathname.new(e).cleanpath.to_s =~ /\/cookbooks\/*$/ }
recipes_path = File.expand_path(File.join(cookbooks_path, ".."))
if Chef::Config[:delete_entire_chef_repo]