diff options
Diffstat (limited to 'src/rebar_otp_app.erl')
-rw-r--r-- | src/rebar_otp_app.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rebar_otp_app.erl b/src/rebar_otp_app.erl index 4cac897..0c30062 100644 --- a/src/rebar_otp_app.erl +++ b/src/rebar_otp_app.erl @@ -68,8 +68,7 @@ clean(_Config, File) -> %% If the app file is a .app.src, delete the generated .app file case rebar_app_utils:is_app_src(File) of true -> - file:delete(rebar_app_utils:app_src_to_app(File)), - ok; + file:delete(rebar_app_utils:app_src_to_app(File)); false -> ok end. @@ -94,7 +93,7 @@ preprocess(AppSrcFile) -> ok = file:write_file(AppFile, Spec), %% Make certain that the ebin/ directory is available on the code path - code:add_path(filename:absname(filename:dirname(AppFile))), + true = code:add_path(filename:absname(filename:dirname(AppFile))), AppFile; |