aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_app_info.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-11-03 20:47:54 -0600
committerTristan Sloughter <[email protected]>2014-11-06 10:03:08 -0600
commit79bbf33cbd46c9a1beeae00424e14969608385ba (patch)
tree19e76b0116164ad7fd037b93f34e15ac297bb61a /src/rlx_app_info.erl
parentf74f15b95c7dd6b27cd415909cf644977ebb88c1 (diff)
downloadrelx-79bbf33cbd46c9a1beeae00424e14969608385ba.tar.gz
relx-79bbf33cbd46c9a1beeae00424e14969608385ba.tar.bz2
relx-79bbf33cbd46c9a1beeae00424e14969608385ba.zip
fix modules thta still were using format_error/1
Diffstat (limited to 'src/rlx_app_info.erl')
-rw-r--r--src/rlx_app_info.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rlx_app_info.erl b/src/rlx_app_info.erl
index 931c139..ab35195 100644
--- a/src/rlx_app_info.erl
+++ b/src/rlx_app_info.erl
@@ -52,7 +52,7 @@
library_deps/2,
link/1,
link/2,
- format_error/1,
+ format_error/2,
format/2,
format/1]).
@@ -170,8 +170,8 @@ link(#app_info_t{link=Link}) ->
link(AppInfo, NewLink) ->
AppInfo#app_info_t{link=NewLink}.
--spec format_error(Reason::term()) -> iolist().
-format_error({vsn_parse, AppName}) ->
+-spec format_error(Reason::term(), rlx_state:t()) -> iolist().
+format_error({vsn_parse, AppName}, _) ->
io_lib:format("Error parsing version for ~p",
[AppName]).