summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-03-14 12:56:47 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-03-14 12:56:47 -0700
commite1d833a4098fc025a1749b5cb709c5cae13ba0cd (patch)
treeb87bdeb3454d0820f4489ea9ff9faaa3fc76a57e /lib/chef
parent811abf7591844ef3229c5705e221cbf1e7ea3cd1 (diff)
downloadchef-e1d833a4098fc025a1749b5cb709c5cae13ba0cd.tar.gz
remove parens
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/chef_fs/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/chef_fs/config.rb b/lib/chef/chef_fs/config.rb
index 9c3810a492..6e3cc50ac1 100644
--- a/lib/chef/chef_fs/config.rb
+++ b/lib/chef/chef_fs/config.rb
@@ -271,7 +271,7 @@ class Chef
object_names.each do |object_name|
# cookbooks -> cookbook_path
singular_name = INFLECTIONS[object_name]
- raise("Unknown object name #{object_name}") unless singular_name
+ raise "Unknown object name #{object_name}" unless singular_name
variable_name = "#{singular_name}_path"
paths = Array(@chef_config[variable_name]).flatten
result[object_name] = paths.map { |path| File.expand_path(path) }