From 10cf319731366ca34e8b1a913c948efb38a6f876 Mon Sep 17 00:00:00 2001 From: "Stephen M. Pallen" Date: Sun, 10 Dec 2017 19:37:28 -0500 Subject: [PATCH] update parser --- lib/auto_linker/parser.ex | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/auto_linker/parser.ex b/lib/auto_linker/parser.ex index 0c337dd..dca53bc 100644 --- a/lib/auto_linker/parser.ex +++ b/lib/auto_linker/parser.ex @@ -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 ->