summaryrefslogtreecommitdiff
path: root/src/rebar_prv_dialyzer.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2017-11-16 22:14:48 -0500
committerGitHub <noreply@github.com>2017-11-16 22:14:48 -0500
commit94976d51db59d644ad540ffcacd52dd2c4d83398 (patch)
treebf055a7d2b472d7c59d59330c8691c1e3b6342b3 /src/rebar_prv_dialyzer.erl
parent9d050dd2bf014a2d7a2890d19ff2b396ed27a4f5 (diff)
parent2d5cd9c00cfa4e58066b48beee4057fdd52cc7be (diff)
Merge pull request #1660 from ferd/otp-21-preparedness
OTP-21 readiness, Full Unicode support
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 a74eefb..99a7698 100644
--- a/src/rebar_prv_dialyzer.erl
+++ b/src/rebar_prv_dialyzer.erl
@@ -565,7 +565,7 @@ collect_nested_dependent_apps(App, Seen) ->
dialyzer_version() ->
_ = application:load(dialyzer),
{ok, Vsn} = application:get_key(dialyzer, vsn),
- case string:tokens(Vsn, ".") of
+ case rebar_string:lexemes(Vsn, ".") of
[Major, Minor] ->
version_tuple(Major, Minor, "0");
[Major, Minor, Patch | _] ->