diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2017-11-16 22:14:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-16 22:14:48 -0500 |
commit | 94976d51db59d644ad540ffcacd52dd2c4d83398 (patch) | |
tree | bf055a7d2b472d7c59d59330c8691c1e3b6342b3 /src/rebar_prv_path.erl | |
parent | 9d050dd2bf014a2d7a2890d19ff2b396ed27a4f5 (diff) | |
parent | 2d5cd9c00cfa4e58066b48beee4057fdd52cc7be (diff) |
Merge pull request #1660 from ferd/otp-21-preparedness
OTP-21 readiness, Full Unicode support
Diffstat (limited to 'src/rebar_prv_path.erl')
-rw-r--r-- | src/rebar_prv_path.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_path.erl b/src/rebar_prv_path.erl index 75d38eb..5374b0c 100644 --- a/src/rebar_prv_path.erl +++ b/src/rebar_prv_path.erl @@ -49,7 +49,7 @@ format_error(Reason) -> filter_apps(RawOpts, State) -> RawApps = proplists:get_all_values(app, RawOpts), - Apps = lists:foldl(fun(String, Acc) -> string:tokens(String, ",") ++ Acc end, [], RawApps), + Apps = lists:foldl(fun(String, Acc) -> rebar_string:lexemes(String, ",") ++ Acc end, [], RawApps), case Apps of [] -> ProjectDeps = project_deps(State), @@ -91,7 +91,7 @@ print_paths_if_exist(Paths, State) -> {RawOpts, _} = rebar_state:command_parsed_args(State), Sep = proplists:get_value(separator, RawOpts, " "), RealPaths = lists:filter(fun(P) -> ec_file:is_dir(P) end, Paths), - io:format("~ts", [string:join(RealPaths, Sep)]). + io:format("~ts", [rebar_string:join(RealPaths, Sep)]). project_deps(State) -> Profiles = rebar_state:current_profiles(State), |