From 99bf0f3918e95edb4dfb06f0ccc30a1b4d875f33 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Wed, 21 Apr 2010 21:36:47 +0200 Subject: Reuse rebar_utils:get_cwd/0 --- src/rebar_eunit.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl index 2f3da35..dd1546d 100644 --- a/src/rebar_eunit.erl +++ b/src/rebar_eunit.erl @@ -99,8 +99,7 @@ clean(_Config, _File) -> %% =================================================================== eunit_dir() -> - {ok, Cwd} = file:get_cwd(), - filename:join(Cwd, ?EUNIT_DIR). + filename:join(rebar_utils:get_cwd(), ?EUNIT_DIR). perform_eunit(Config, Modules) -> %% suite defined, so only specify the module that relates to the -- cgit v1.1