From 6c808ea3f2711a7f1d0bf519f2ad0cd630eadd28 Mon Sep 17 00:00:00 2001 From: Guilherme Andrade Date: Sat, 17 Aug 2019 14:48:22 +0100 Subject: Fix type specifications of API caller overlays --- src/rlx_state.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rlx_state.erl b/src/rlx_state.erl index a4b21fa..9f9d835 100644 --- a/src/rlx_state.erl +++ b/src/rlx_state.erl @@ -105,7 +105,7 @@ output_dir :: file:name(), lib_dirs=[] :: [file:name()], config_file=[] :: file:filename() | undefined, - api_caller_overlays=[] :: [{atom(),string()}], + api_caller_overlays=[] :: [{atom(),term()}], cli_args=[] :: proplists:proplist(), goals=[] :: [rlx_depsolver:raw_constraint()], providers=[] :: [providers:t()], @@ -274,7 +274,7 @@ config_file(#state_t{config_file=ConfigFiles}) -> config_file(State, ConfigFiles) -> State#state_t{config_file=ConfigFiles}. --spec api_caller_overlays(t()) -> [{atom(),string()}]. +-spec api_caller_overlays(t()) -> [{atom(),term()}]. api_caller_overlays(#state_t{api_caller_overlays = ApiCallerOverlays}) -> ApiCallerOverlays. -- cgit v1.2.3