lib/anyway/loaders/yaml.rb in anyway_config-2.5.1 vs lib/anyway/loaders/yaml.rb in anyway_config-2.5.2

- old
+ new

@@ -68,10 +68,10 @@ alias_method :load_base_yml, :parse_yml alias_method :load_local_yml, :parse_yml def local_config_path(path) - path.sub(/\.yml/, ".local.yml") + path.sub(".yml", ".local.yml") end def relative_config_path(path) Pathname.new(path).then do |path| return path if path.relative?