diff options
Diffstat (limited to 'src/rebar_cleaner.erl')
-rw-r--r-- | src/rebar_cleaner.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rebar_cleaner.erl b/src/rebar_cleaner.erl index bdeefe5..2ff828e 100644 --- a/src/rebar_cleaner.erl +++ b/src/rebar_cleaner.erl @@ -36,5 +36,4 @@ clean(Config, _AppFile) -> %% Get a list of files to delete from config and remove them FilesToClean = rebar_config:get(Config, clean_files, []), - [rebar_file_utils:rm_rf(F) || F <- FilesToClean], - ok. + lists:foreach(fun (F) -> rebar_file_utils:rm_rf(F) end, FilesToClean). |