From 14ab5f562efdcbaac54732c3776af4f5acbae1d9 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Wed, 9 Sep 2015 20:20:56 -0500 Subject: fix dialyzer warnings --- src/rebar_prv_dialyzer.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rebar_prv_dialyzer.erl') diff --git a/src/rebar_prv_dialyzer.erl b/src/rebar_prv_dialyzer.erl index 1cf7b71..7f26487 100644 --- a/src/rebar_prv_dialyzer.erl +++ b/src/rebar_prv_dialyzer.erl @@ -313,7 +313,7 @@ get_base_plt(State) -> Name = plt_name(Prefix), case get_config(State, base_plt_location, global) of global -> - GlobalCacheDir = rebar_dir:global_cache_dir(State), + GlobalCacheDir = rebar_dir:global_cache_dir(rebar_state:opts(State)), filename:join(GlobalCacheDir, Name); Dir -> filename:join(Dir, Name) -- cgit v1.1