From 44272e23b641a016b74edf0cb9849b0656e8f726 Mon Sep 17 00:00:00 2001 From: "Viacheslav V. Kovalev" Date: Fri, 26 Jun 2015 22:35:39 +0300 Subject: Some fixes after review --- src/rebar_prv_dialyzer.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/rebar_prv_dialyzer.erl b/src/rebar_prv_dialyzer.erl index af0bae3..1cf7b71 100644 --- a/src/rebar_prv_dialyzer.erl +++ b/src/rebar_prv_dialyzer.erl @@ -97,8 +97,7 @@ do(State) -> %% Dialyzer gets default plt location wrong way by peeking HOME environment %% variable which usually is not defined on Windows. maybe_fix_env() -> - {ok, [[HomePath]]} = init:get_argument(home), - os:putenv("DIALYZER_PLT", filename:join(HomePath, ".dialyzer_plt")). + os:putenv("DIALYZER_PLT", filename:join(rebar_dir:home_dir(), ".dialyzer_plt")). -spec format_error(any()) -> iolist(). format_error({error_processing_apps, Error}) -> -- cgit v1.1