diff options
author | Tristan Sloughter <[email protected]> | 2014-11-09 18:22:20 -0600 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2014-11-09 19:50:35 -0600 |
commit | bf953e417d0771583d95d4d6b6e2697ab44754d6 (patch) | |
tree | 2bb652df3be9f3e2b4187bf073672dad4f7dda10 /src/rlx_depsolver.erl | |
parent | 64b946e351a92bd2686d0a4370c252a53eaa82bd (diff) | |
download | relx-bf953e417d0771583d95d4d6b6e2697ab44754d6.tar.gz relx-bf953e417d0771583d95d4d6b6e2697ab44754d6.tar.bz2 relx-bf953e417d0771583d95d4d6b6e2697ab44754d6.zip |
move back to using format_error/1
Diffstat (limited to 'src/rlx_depsolver.erl')
-rw-r--r-- | src/rlx_depsolver.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rlx_depsolver.erl b/src/rlx_depsolver.erl index c7f2f5c..fd26145 100644 --- a/src/rlx_depsolver.erl +++ b/src/rlx_depsolver.erl @@ -76,7 +76,7 @@ -module(rlx_depsolver). %% Public Api --export([format_error/2, +-export([format_error/1, format_roots/1, format_culprits/1, format_constraint/1, @@ -326,9 +326,9 @@ filter_packages(PVPairs, RawConstraints) -> %% could not be satisfied -spec format_error({error, {unreachable_package, list()} | {invalid_constraints, [constraint()]} | - list()}, rlx_state:t()) -> iolist(). -format_error(Error, State) -> - rlx_depsolver_culprit:format_error(Error, State). + list()}) -> iolist(). +format_error(Error) -> + rlx_depsolver_culprit:format_error(Error). %% @doc Return a formatted list of roots of the dependency trees which %% could not be satisified. These may also have versions attached. |