rebar_edoc: use correct proplist() type (Reported-by: Kostis Sagonas)

This commit is contained in:
Tuncer Ayaz 2012-10-03 12:28:19 +02:00
parent 8ff99f98b3
commit 32e67ef55e

View file

@ -108,7 +108,7 @@ newer_file_exists(Paths, OldFile) ->
%% Needs regen if any dependent file is changed since the last %% Needs regen if any dependent file is changed since the last
%% edoc run. Dependent files are the erlang source files, %% edoc run. Dependent files are the erlang source files,
%% and the overview file, if it exists. %% and the overview file, if it exists.
-spec needs_regen(edoc:proplist()) -> boolean(). -spec needs_regen(proplists:proplist()) -> boolean().
needs_regen(EDocOpts) -> needs_regen(EDocOpts) ->
DocDir = proplists:get_value(dir, EDocOpts, "doc"), DocDir = proplists:get_value(dir, EDocOpts, "doc"),
EDocInfoName = filename:join(DocDir, "edoc-info"), EDocInfoName = filename:join(DocDir, "edoc-info"),