lib/berkshelf/resolver.rb in berkshelf-3.0.0.beta2 vs lib/berkshelf/resolver.rb in berkshelf-3.0.0.beta3

- old
+ new

@@ -66,10 +66,10 @@ # @return [Array<Array<String, String, Dependency>>] def resolve graph.populate_store graph.populate(berksfile.sources) - Solve.it!(graph, demand_array).collect do |name, version| + Solve.it!(graph, demand_array, ENV['DEBUG_RESOLVER'] ? { ui: Berkshelf.ui } : {}).collect do |name, version| dependency = get_demand(name) || Dependency.new(berksfile, name, locked_version: version) [ name, version, dependency ] end rescue Solve::Errors::NoSolutionError raise Berkshelf::NoSolutionError.new(demands)