diff options
Diffstat (limited to 'lib/chef/chef_fs/file_system/multiplexed_dir.rb')
-rw-r--r-- | lib/chef/chef_fs/file_system/multiplexed_dir.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/chef_fs/file_system/multiplexed_dir.rb b/lib/chef/chef_fs/file_system/multiplexed_dir.rb index a79acb0022..70b827f85f 100644 --- a/lib/chef/chef_fs/file_system/multiplexed_dir.rb +++ b/lib/chef/chef_fs/file_system/multiplexed_dir.rb @@ -35,7 +35,7 @@ class Chef end end - def child(name) + def make_child_entry(name) result = nil multiplexed_dirs.each do |dir| child_entry = dir.child(name) @@ -47,7 +47,7 @@ class Chef end end end - result || NonexistentFSObject.new(name, self) + result end def can_have_child?(name, is_dir) |