diff options
author | danielsdeleo <dan@chef.io> | 2016-02-16 13:56:04 -0800 |
---|---|---|
committer | danielsdeleo <dan@chef.io> | 2016-02-16 15:26:43 -0800 |
commit | b466688fa006f28cadf85e4373d90aa5a73b1a32 (patch) | |
tree | 05d6ad7aed2e70447b6a637708fc86d9bf15a96f /lib | |
parent | b56288f5cf2cd9067223af2aadfc5f1fc3c98cba (diff) | |
download | chef-b466688fa006f28cadf85e4373d90aa5a73b1a32.tar.gz |
Fix new chefstyle issues
Diffstat (limited to 'lib')
3 files changed, 3 insertions, 3 deletions
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 |