# File lib/brakeman.rb, line 153 def self.config_file custom_location, app_path app_config = File.expand_path(File.join(app_path, "config", "brakeman.yml")) supported_locations = [File.expand_path(custom_location || ""), app_config] + CONFIG_FILES supported_locations.detect {|f| File.file?(f) } end