mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Fix code clarity
This commit is contained in:
parent
2e0eab45cb
commit
0bb429c197
1 changed files with 3 additions and 3 deletions
|
@ -39,11 +39,11 @@ compile(Config, File) ->
|
||||||
%% If we get an .app.src file, it needs to be pre-processed and
|
%% If we get an .app.src file, it needs to be pre-processed and
|
||||||
%% written out as a ebin/*.app file. That resulting file will then
|
%% written out as a ebin/*.app file. That resulting file will then
|
||||||
%% be validated as usual.
|
%% be validated as usual.
|
||||||
case rebar_app_utils:is_app_src(File) of
|
AppFile = case rebar_app_utils:is_app_src(File) of
|
||||||
true ->
|
true ->
|
||||||
AppFile = preprocess(File);
|
preprocess(File);
|
||||||
false ->
|
false ->
|
||||||
AppFile = File
|
File
|
||||||
end,
|
end,
|
||||||
|
|
||||||
%% Load the app file and validate it.
|
%% Load the app file and validate it.
|
||||||
|
|
Loading…
Reference in a new issue