summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2018-12-01 13:04:48 -0500
committerFred Hebert <mononcqc@ferd.ca>2018-12-01 13:04:48 -0500
commitc0957db49bdd0af80eb72a5a3c2c03796d959044 (patch)
tree130221d15095fe9f7c1cfdad89f0c6975010c4d5 /src
parentfc9b11afcadc1090f613eaef54873f17fc9020c5 (diff)
Review comments addressed
Diffstat (limited to 'src')
-rw-r--r--src/rebar_paths.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rebar_paths.erl b/src/rebar_paths.erl
index c49ed36..160f9fa 100644
--- a/src/rebar_paths.erl
+++ b/src/rebar_paths.erl
@@ -122,7 +122,9 @@ purge_and_load([{_Group, Apps}|Rest], Seen) ->
%% if not found, parse the app file on disk, in case
%% the app's modules are used without it being loaded;
%% invalidate the cache in case we're proceeding during
- %% compilation steps by setting the app details to `[]'
+ %% compilation steps by setting the app details to `[]', which
+ %% is its empty value; the details will then be reloaded
+ %% from disk when found
case rebar_app_info:app_details(rebar_app_info:app_details(App, [])) of
[] -> [];
Details -> proplists:get_value(modules, Details, [])