class ChefCLI::PolicyfileCompiler

def cookbook_demands_from_policies

def cookbook_demands_from_policies
  included_policies.flat_map do |policy_spec|
    lock = policy_spec.policyfile_lock
    lock.solution_dependencies.to_lock["Policyfile"]
  end
end