diff --git a/src/rebar_file_utils.erl b/src/rebar_file_utils.erl index 6eb2ab1..51ba96e 100644 --- a/src/rebar_file_utils.erl +++ b/src/rebar_file_utils.erl @@ -57,6 +57,8 @@ rm_rf(Target) -> end. -spec cp_r(Sources::list(string()), Dest::file:filename()) -> ok. +cp_r([], _Dest) -> + ok; cp_r(Sources, Dest) -> case os:type() of {unix, _} ->