summaryrefslogtreecommitdiff
path: root/src/rebar_prv_common_test.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_prv_common_test.erl')
-rw-r--r--src/rebar_prv_common_test.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl
index f76fdf5..9128064 100644
--- a/src/rebar_prv_common_test.erl
+++ b/src/rebar_prv_common_test.erl
@@ -354,7 +354,7 @@ remove_links(Path) ->
true ->
file:delete(Path);
false ->
- ec_file:is_dir(Path) andalso
+ IsDir andalso
lists:foreach(fun(ChildPath) ->
remove_links(ChildPath)
end, sub_dirs(Path))