class ChefCLI::PolicyfileCompiler

def preferred_source_for_cookbook(conflicting_cb_name)

def preferred_source_for_cookbook(conflicting_cb_name)
  default_source.find { |s| s.preferred_source_for?(conflicting_cb_name) }
end