update parser

This commit is contained in:
Stephen M. Pallen 2017-12-10 19:37:28 -05:00
parent 80b9b85040
commit 10cf319731

View file

@ -43,10 +43,9 @@ defmodule AutoLinker.Parser do
:auto_linker
|> Application.get_env(:opts, [])
|> Enum.into(%{})
config =
:auto_linker
|> Application.get_env(:attributes, [])
|> Enum.into(config)
|> Map.put(:attributes,
Application.get_env(:auto_linker, :attributes, [])
)
opts =
Enum.reduce @default_opts, opts, fn opt, acc ->