class ChefCLI::Policyfile::GitLockFetcher

def errors

Returns:
  • (Array) - A list of errors found
def errors
  error_messages = []
  [:git].each do |key|
    error_messages << "include_policy for #{name} is missing key #{key}" unless source_options[key]
  end
  error_messages
end