summaryrefslogtreecommitdiff
path: root/lib/chef/deprecation/provider/cookbook_file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/deprecation/provider/cookbook_file.rb')
-rw-r--r--lib/chef/deprecation/provider/cookbook_file.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/chef/deprecation/provider/cookbook_file.rb b/lib/chef/deprecation/provider/cookbook_file.rb
index 166368df5a..03360d7550 100644
--- a/lib/chef/deprecation/provider/cookbook_file.rb
+++ b/lib/chef/deprecation/provider/cookbook_file.rb
@@ -16,18 +16,15 @@
# limitations under the License.
#
-
class Chef
module Deprecation
module Provider
-
# == Deprecation::Provider::CookbookFile
# This module contains the deprecated functions of
# Chef::Provider::CookbookFile. These functions are refactored to
# different components. They are frozen and will be removed in Chef 13.
#
module CookbookFile
-
def file_cache_location
@file_cache_location ||= begin
cookbook = run_context.cookbook_collection[resource_cookbook]
@@ -48,7 +45,6 @@ class Chef
backup @new_resource.path
end
end
-
end
end
end