diff options
-rw-r--r-- | src/rebar_prv_dialyzer.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_dialyzer.erl b/src/rebar_prv_dialyzer.erl index 9d2c10a..7268f06 100644 --- a/src/rebar_prv_dialyzer.erl +++ b/src/rebar_prv_dialyzer.erl @@ -86,8 +86,8 @@ format_error(Reason) -> %% Internal functions get_plt_location(State) -> - BuildDir = rebar_state:get(State, base_dir, ?DEFAULT_BASE_DIR), - DefaultPlt = filename:join([BuildDir, default_plt()]), + BaseDir = rebar_dir:base_dir(State), + DefaultPlt = filename:join(BaseDir, default_plt()), rebar_state:get(State, dialyzer_plt, DefaultPlt). default_plt() -> |