lib/berkshelf/resolver.rb in berkshelf-2.0.8 vs lib/berkshelf/resolver.rb in berkshelf-2.0.9

- old
+ new

@@ -161,10 +161,10 @@ source.version_constraint = Solve::Constraint.new(locked.to_s) if locked constraint = source.version_constraint if source.downloaded? cached = source.cached_cookbook - location.validate_cached(cached) + location.validate_cached(cached) if location Berkshelf.formatter.use(name, cached.version, location) true elsif location.is_a?(GitLocation) false else