From b466688fa006f28cadf85e4373d90aa5a73b1a32 Mon Sep 17 00:00:00 2001 From: danielsdeleo Date: Tue, 16 Feb 2016 13:56:04 -0800 Subject: Fix new chefstyle issues --- .../repository/chef_repository_file_system_cookbook_entry.rb | 2 +- lib/chef/chef_fs/file_system/repository/data_bag_item.rb | 2 +- lib/chef/chef_fs/file_system/repository/directory.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/chef/chef_fs') diff --git a/lib/chef/chef_fs/file_system/repository/chef_repository_file_system_cookbook_entry.rb b/lib/chef/chef_fs/file_system/repository/chef_repository_file_system_cookbook_entry.rb index 2b98787183..5935336153 100644 --- a/lib/chef/chef_fs/file_system/repository/chef_repository_file_system_cookbook_entry.rb +++ b/lib/chef/chef_fs/file_system/repository/chef_repository_file_system_cookbook_entry.rb @@ -40,7 +40,7 @@ class Chef def initialize(name, parent, file_path = nil, ruby_only = false, recursive = false) @parent = parent @name = name - @path = Chef::ChefFS::PathUtils::join(parent.path, name) + @path = Chef::ChefFS::PathUtils.join(parent.path, name) @ruby_only = ruby_only @recursive = recursive @data_handler = nil diff --git a/lib/chef/chef_fs/file_system/repository/data_bag_item.rb b/lib/chef/chef_fs/file_system/repository/data_bag_item.rb index ef4c7e9c6e..a1cff5d1b8 100644 --- a/lib/chef/chef_fs/file_system/repository/data_bag_item.rb +++ b/lib/chef/chef_fs/file_system/repository/data_bag_item.rb @@ -33,7 +33,7 @@ class Chef def initialize(name, parent) @parent = parent @name = name - @path = Chef::ChefFS::PathUtils::join(parent.path, name) + @path = Chef::ChefFS::PathUtils.join(parent.path, name) @data_handler = Chef::ChefFS::DataHandler::DataBagItemDataHandler.new @file_path = "#{parent.file_path}/#{name}" end diff --git a/lib/chef/chef_fs/file_system/repository/directory.rb b/lib/chef/chef_fs/file_system/repository/directory.rb index ac1ac0a852..898f3847c4 100644 --- a/lib/chef/chef_fs/file_system/repository/directory.rb +++ b/lib/chef/chef_fs/file_system/repository/directory.rb @@ -31,7 +31,7 @@ class Chef def initialize(name, parent, file_path = nil) @parent = parent @name = name - @path = Chef::ChefFS::PathUtils::join(parent.path, name) + @path = Chef::ChefFS::PathUtils.join(parent.path, name) @file_path = file_path || "#{parent.file_path}/#{name}" end -- cgit v1.2.1