Reuse rebar_utils:get_cwd/0

This commit is contained in:
Tuncer Ayaz 2010-04-21 21:36:47 +02:00
parent 8f85d70897
commit 99bf0f3918

View file

@ -99,8 +99,7 @@ clean(_Config, _File) ->
%% =================================================================== %% ===================================================================
eunit_dir() -> eunit_dir() ->
{ok, Cwd} = file:get_cwd(), filename:join(rebar_utils:get_cwd(), ?EUNIT_DIR).
filename:join(Cwd, ?EUNIT_DIR).
perform_eunit(Config, Modules) -> perform_eunit(Config, Modules) ->
%% suite defined, so only specify the module that relates to the %% suite defined, so only specify the module that relates to the