lib/packwerk/configuration.rb in packwerk-1.3.1 vs lib/packwerk/configuration.rb in packwerk-1.3.2

- old
+ new

@@ -43,10 +43,10 @@ @exclude = configs["exclude"] || DEFAULT_EXCLUDE_GLOBS root = config_path ? File.dirname(config_path) : "." @root_path = File.expand_path(root) @package_paths = configs["package_paths"] || "**/" @custom_associations = configs["custom_associations"] || [] - @load_paths = configs["load_paths"] || [] + @load_paths = (configs["load_paths"] || []).uniq @inflections_file = File.expand_path(configs["inflections_file"] || "config/inflections.yml", @root_path) @parallel = configs.key?("parallel") ? configs["parallel"] : true @config_path = config_path end