# File lib/r10k/deployment/config/loader.rb, line 23 def search # If both default files are present, issue a warning. if (File.file? DEFAULT_LOCATION) && (File.file? OLD_DEFAULT_LOCATION) logger.warn "Both #{DEFAULT_LOCATION} and #{OLD_DEFAULT_LOCATION} configuration files exist." logger.warn "#{DEFAULT_LOCATION} will be used." end first = @loadpath.find {|filename| File.file? filename} end