summaryrefslogtreecommitdiff
path: root/src/rebar_prv_dialyzer.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-09-09 22:09:11 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-09-09 22:09:11 -0400
commitebb919f228ab694ddd6c114fb6dc66989e7d8707 (patch)
tree372b2060630fab11f691041ef9fb60a9a21e900a /src/rebar_prv_dialyzer.erl
parent6eb28a94ca87f7d1e0ed9bde45b98b15ab1fcd5b (diff)
parent14ab5f562efdcbaac54732c3776af4f5acbae1d9 (diff)
Merge pull request #787 from tsloughter/dialyzer_cleanup
fix dialyzer warnings
Diffstat (limited to 'src/rebar_prv_dialyzer.erl')
-rw-r--r--src/rebar_prv_dialyzer.erl2
1 files changed, 1 insertions, 1 deletions
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)