mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
rebar_edoc: use correct proplist() type (Reported-by: Kostis Sagonas)
This commit is contained in:
parent
8ff99f98b3
commit
32e67ef55e
1 changed files with 1 additions and 1 deletions
|
@ -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"),
|
||||||
|
|
Loading…
Reference in a new issue