summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) }