diff options
author | Viacheslav V. Kovalev <kovyl2404@gmail.com> | 2015-06-26 22:35:39 +0300 |
---|---|---|
committer | Viacheslav V. Kovalev <kovyl2404@gmail.com> | 2015-06-26 22:35:39 +0300 |
commit | 44272e23b641a016b74edf0cb9849b0656e8f726 (patch) | |
tree | f7cddfede331d2e2f00f7c75035977f27feb5c3e /src | |
parent | 66f007f7dfa6773ed88a954a4b625190c8ec7e22 (diff) |
Some fixes after review
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_dialyzer.erl | 3 |
1 files changed, 1 insertions, 2 deletions
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}) -> |