aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilherme Andrade <[email protected]>2019-08-17 14:48:22 +0100
committerGuilherme Andrade <[email protected]>2019-08-17 14:48:22 +0100
commit6c808ea3f2711a7f1d0bf519f2ad0cd630eadd28 (patch)
tree7fc0d26512207d543371090655c53a6e3f6881ec
parentee9ad07748b823f4e2d951b1c5bba8310ff09bb4 (diff)
downloadrelx-6c808ea3f2711a7f1d0bf519f2ad0cd630eadd28.tar.gz
relx-6c808ea3f2711a7f1d0bf519f2ad0cd630eadd28.tar.bz2
relx-6c808ea3f2711a7f1d0bf519f2ad0cd630eadd28.zip
Fix type specifications of API caller overlays
-rw-r--r--src/rlx_state.erl4
1 files 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.