summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/file_system/base_fs_object.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/chef_fs/file_system/base_fs_object.rb')
-rw-r--r--lib/chef/chef_fs/file_system/base_fs_object.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/chef_fs/file_system/base_fs_object.rb b/lib/chef/chef_fs/file_system/base_fs_object.rb
index 19f98f2bdd..cf1aed552f 100644
--- a/lib/chef/chef_fs/file_system/base_fs_object.rb
+++ b/lib/chef/chef_fs/file_system/base_fs_object.rb
@@ -27,7 +27,7 @@ class Chef
@parent = parent
@name = name
if parent
- @path = Chef::ChefFS::PathUtils::join(parent.path, name)
+ @path = Chef::ChefFS::PathUtils.join(parent.path, name)
else
if name != ""
raise ArgumentError, "Name of root object must be empty string: was '#{name}' instead"
@@ -149,7 +149,7 @@ class Chef
if parent_path == "."
name
else
- Chef::ChefFS::PathUtils::join(parent.path_for_printing, name)
+ Chef::ChefFS::PathUtils.join(parent.path_for_printing, name)
end
else
name