We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63520aa commit 27c91eaCopy full SHA for 27c91ea
src/yz_console.erl
@@ -30,7 +30,7 @@
30
-include_lib("eunit/include/eunit.hrl").
31
-endif.
32
33
--type field_data() :: {dynamicfield | field, list(), list()}.
+-type field_data() :: {dynamicfield | field, list()}.
34
35
-define(LIST_TO_ATOM(L), list_to_atom(L)).
36
-define(LIST_TO_BINARY(L), list_to_binary(L)).
@@ -162,7 +162,7 @@ parse_options([H|T], Acc) ->
162
end.
163
164
%% @doc Reads and returns `RawSchema` from file path.
165
--spec read_schema(string()) -> raw_schema() | schema_err().
+-spec read_schema(string()) -> {ok, raw_schema()} | schema_err().
166
read_schema(Path) ->
167
AbsPath = filename:absname(Path),
168
case file:read_file(AbsPath) of
0 commit comments