fix build docs

This commit is contained in:
Led 2015-08-03 00:24:58 +03:00
parent 3a051c60dd
commit fef001479f
3 changed files with 25 additions and 12 deletions

View file

@ -58,8 +58,6 @@
-endif.
-spec consult(File::file:name_all(), Config::config()) -> [json_value()].
-ifdef(maps_always).
opts(Opts) -> [return_maps, multi_term] ++ Opts.
-endif.
@ -67,6 +65,8 @@ opts(Opts) -> [return_maps, multi_term] ++ Opts.
opts(Opts) -> [multi_term] ++ Opts.
-endif.
-spec consult(File::file:name_all(), Config::config()) -> [json_value()].
consult(File, Config) when is_list(Config) ->
case file:read_file(File) of
{ok, Bin} ->