diff options
author | John Keiser <john@johnkeiser.com> | 2015-08-06 14:01:40 -0700 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-08-07 14:19:31 -0700 |
commit | 0ad6e62acd183d9bbc9650de2c0d54ec4124626c (patch) | |
tree | c36c9cb4e3faa09cd7cedaf75e513b4c44bc2446 | |
parent | 07524b0b3bac3759c178f2361ba0d20bc9b251cb (diff) | |
download | chef-0ad6e62acd183d9bbc9650de2c0d54ec4124626c.tar.gz |
Fix multiple directory warning to print actual directory
-rw-r--r-- | lib/chef/chef_fs/file_system/multiplexed_dir.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/chef_fs/file_system/multiplexed_dir.rb b/lib/chef/chef_fs/file_system/multiplexed_dir.rb index 114ff49593..a79acb0022 100644 --- a/lib/chef/chef_fs/file_system/multiplexed_dir.rb +++ b/lib/chef/chef_fs/file_system/multiplexed_dir.rb @@ -24,7 +24,7 @@ class Chef multiplexed_dirs.each do |dir| dir.children.each do |child| if seen[child.name] - Chef::Log.warn("Child with name '#{child.name}' found in multiple directories: #{seen[child.name].path_for_printing} and #{dir.path_for_printing}") + Chef::Log.warn("Child with name '#{child.name}' found in multiple directories: #{seen[child.name].path_for_printing} and #{child.path_for_printing}") else result << child seen[child.name] = child |