Skip to content

Commit 27c91ea

Browse files
update types for cleanup updates in previous commit
1 parent 63520aa commit 27c91ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/yz_console.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
-include_lib("eunit/include/eunit.hrl").
3131
-endif.
3232

33-
-type field_data() :: {dynamicfield | field, list(), list()}.
33+
-type field_data() :: {dynamicfield | field, list()}.
3434

3535
-define(LIST_TO_ATOM(L), list_to_atom(L)).
3636
-define(LIST_TO_BINARY(L), list_to_binary(L)).
@@ -162,7 +162,7 @@ parse_options([H|T], Acc) ->
162162
end.
163163

164164
%% @doc Reads and returns `RawSchema` from file path.
165-
-spec read_schema(string()) -> raw_schema() | schema_err().
165+
-spec read_schema(string()) -> {ok, raw_schema()} | schema_err().
166166
read_schema(Path) ->
167167
AbsPath = filename:absname(Path),
168168
case file:read_file(AbsPath) of

0 commit comments

Comments
 (0)