lib/berkshelf/cached_cookbook.rb in berkshelf-7.0.0 vs lib/berkshelf/cached_cookbook.rb in berkshelf-7.0.1

- old
+ new

@@ -160,10 +160,10 @@ end true end - def compile_metadata + def compile_metadata(path = self.path) json_file = "#{path}/metadata.json" rb_file = "#{path}/metadata.rb" return nil if File.exist?(json_file) md = Chef::Cookbook::Metadata.new md.from_file(rb_file)