diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2018-04-23 13:38:37 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2018-04-23 13:38:37 -0400 |
commit | 288d0c7484ba9214cc6598100000bcce0fefe462 (patch) | |
tree | d25f1f9aa15e596f147e69dab428e3d1f828e598 /src | |
parent | 35fb67523d784927a291fb464da4b36c6004470c (diff) |
Clear all dialyzer errors
- this is done by adding a HiPE dependency
- also in this: adding a test for directories, and fixing some indent
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar.app.src | 1 | ||||
-rw-r--r-- | src/rebar_string.erl | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar.app.src b/src/rebar.app.src index 43ad620..c96f65c 100644 --- a/src/rebar.app.src +++ b/src/rebar.app.src @@ -8,6 +8,7 @@ {registered, []}, {applications, [kernel, stdlib, + hipe, sasl, compiler, crypto, diff --git a/src/rebar_string.erl b/src/rebar_string.erl index c1858f9..47cb15c 100644 --- a/src/rebar_string.erl +++ b/src/rebar_string.erl @@ -11,7 +11,7 @@ %% used. Instead we just adopt join/2 locally and hope it works %% for most unicode use cases anyway. join([], Sep) when is_list(Sep) -> - []; + []; join([H|T], Sep) -> H ++ lists:append([Sep ++ X || X <- T]). |