aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_app_discovery.erl
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2013-09-16 10:30:15 -0700
committerJordan Wilberding <[email protected]>2013-09-16 10:30:15 -0700
commit47d157ee780c9c8fde1fc66ebc769ac7c10f0521 (patch)
tree533ba1b9ee980a664aaad19e3b6c6d15176a4cce /src/rlx_app_discovery.erl
parent55f0f5aa4c25d21171113a75f91a37d12a4c78ee (diff)
parent26d1d19cc204d3ba63037b703f1b040a960d9725 (diff)
downloadrelx-47d157ee780c9c8fde1fc66ebc769ac7c10f0521.tar.gz
relx-47d157ee780c9c8fde1fc66ebc769ac7c10f0521.tar.bz2
relx-47d157ee780c9c8fde1fc66ebc769ac7c10f0521.zip
Merge pull request #40 from tsloughter/masterv0.2.00.2.0
Misc fixes, log improvements and README improvements
Diffstat (limited to 'src/rlx_app_discovery.erl')
-rw-r--r--src/rlx_app_discovery.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rlx_app_discovery.erl b/src/rlx_app_discovery.erl
index e6b6e2c..d321638 100644
--- a/src/rlx_app_discovery.erl
+++ b/src/rlx_app_discovery.erl
@@ -35,12 +35,12 @@
%% @doc recursively dig down into the library directories specified in the state
%% looking for OTP Applications
--spec do(rlx_state:t(), [filename:name()]) -> {ok, [rlx_app_info:t()]} | relx:error().
+-spec do(rlx_state:t(), [file:name()]) -> {ok, [rlx_app_info:t()]} | relx:error().
do(State, LibDirs) ->
rlx_log:info(rlx_state:log(State),
fun() ->
["Resolving OTP Applications from directories:\n",
- [[rlx_util:indent(1), LibDir, "\n"] || LibDir <- LibDirs]]
+ [[rlx_util:indent(2), LibDir, "\n"] || LibDir <- LibDirs]]
end),
resolve_app_metadata(State, LibDirs).
@@ -72,7 +72,7 @@ resolve_app_metadata(State, LibDirs) ->
rlx_log:debug(rlx_state:log(State),
fun() ->
["Resolved the following OTP Applications from the system: \n",
- [[rlx_app_info:format(1, App), "\n"] || App <- AppMeta1]]
+ [[rlx_app_info:format(2, App), "\n"] || App <- AppMeta1]]
end),
{ok, AppMeta1};
Errors ->