From 802f2d2a46b96c4c8746a985276979c7937b347b Mon Sep 17 00:00:00 2001 From: Viacheslav Katsuba Date: Thu, 2 Jun 2022 20:29:38 +0300 Subject: [PATCH] Minor fix (#23) --- src/rebar3_edoc_extensions_wrapper.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rebar3_edoc_extensions_wrapper.erl b/src/rebar3_edoc_extensions_wrapper.erl index a4608b0..84bd36d 100644 --- a/src/rebar3_edoc_extensions_wrapper.erl +++ b/src/rebar3_edoc_extensions_wrapper.erl @@ -55,9 +55,9 @@ run(#doclet_gen{app = App} = Cmd, #?RECORD{dir = Dir} = Ctxt) -> Ctxt :: #?RECORD{}, Value :: any(). get_chained_mod(doclet, Options) when is_list(Options) -> - proplists:get_value(chained_doclet, Options); + proplists:get_value(chained_doclet, Options, edoc_doclet); get_chained_mod(layout, Options) when is_list(Options) -> - proplists:get_value(chained_layout, Options); + proplists:get_value(chained_layout, Options, edoc_layout); get_chained_mod(Option, Ctxt) when is_tuple(Ctxt) -> #?RECORD{opts = Options} = Ctxt, get_chained_mod(Option, Options).