summaryrefslogtreecommitdiff
path: root/src/rebar_state.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_state.erl')
-rw-r--r--src/rebar_state.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_state.erl b/src/rebar_state.erl
index 2d9266a..130f08d 100644
--- a/src/rebar_state.erl
+++ b/src/rebar_state.erl
@@ -28,7 +28,7 @@
src_deps = [],
src_apps = [],
- pkg_deps = [],
+ pkg_deps = [] :: [rlx_depsolver:constraint()],
project_apps = [],
providers = []}).
@@ -103,6 +103,7 @@ deps_names(State) ->
ec_cnv:to_binary(Dep)
end, Deps).
+-spec pkg_deps(t()) -> [rlx_depsolver:constraint()].
pkg_deps(#state_t{pkg_deps=PkgDeps}) ->
PkgDeps.