diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2010-04-21 21:36:47 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2010-04-21 21:36:47 +0200 |
commit | 99bf0f3918e95edb4dfb06f0ccc30a1b4d875f33 (patch) | |
tree | d063d240299260f9d3473cdf66facaa7eeee29fd /src | |
parent | 8f85d708974efae9dd153b70cf76fb2ed7409d9d (diff) |
Reuse rebar_utils:get_cwd/0
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_eunit.erl | 3 |
1 files changed, 1 insertions, 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 |