diff options
author | Jordan Wilberding <[email protected]> | 2014-11-03 13:02:18 -0800 |
---|---|---|
committer | Jordan Wilberding <[email protected]> | 2014-11-03 13:02:18 -0800 |
commit | 9d550533bb1440e93f4a014cb6303f427a51f2dc (patch) | |
tree | 346016bc34896d7919806ee2e3fa05564c4283a1 /src/rlx_prv_discover.erl | |
parent | 5368a5cd945aa3dd0723258cdad051aa8f7b4920 (diff) | |
parent | 04ea67a7eded3cc296e27ce1a9ae766a638035df (diff) | |
download | relx-9d550533bb1440e93f4a014cb6303f427a51f2dc.tar.gz relx-9d550533bb1440e93f4a014cb6303f427a51f2dc.tar.bz2 relx-9d550533bb1440e93f4a014cb6303f427a51f2dc.zip |
Merge pull request #236 from tsloughter/format_error2
Some changes for providers as I work on rebar3
Diffstat (limited to 'src/rlx_prv_discover.erl')
-rw-r--r-- | src/rlx_prv_discover.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rlx_prv_discover.erl b/src/rlx_prv_discover.erl index 520cf15..41e3993 100644 --- a/src/rlx_prv_discover.erl +++ b/src/rlx_prv_discover.erl @@ -27,7 +27,7 @@ -export([init/1, do/1, - format_error/1]). + format_error/2]). -include("relx.hrl"). @@ -72,8 +72,8 @@ do(State0) -> %% @doc this is here to comply with the signature. However, we do not actually %% produce any errors and so simply return an empty string. --spec format_error(any()) -> iolist(). -format_error(_) -> +-spec format_error(any(), rlx_state:t()) -> iolist(). +format_error(_, _) -> "". %%%=================================================================== |