diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2018-04-25 19:31:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-25 19:31:16 -0400 |
commit | 7eca59670f43f5298dd9d126911e583eef7edd0f (patch) | |
tree | d25f1f9aa15e596f147e69dab428e3d1f828e598 /src/rebar_string.erl | |
parent | 35fb67523d784927a291fb464da4b36c6004470c (diff) | |
parent | 288d0c7484ba9214cc6598100000bcce0fefe462 (diff) |
Merge pull request #1765 from ferd/clear-all-dialyzer-errors
Clear all dialyzer errors
Diffstat (limited to 'src/rebar_string.erl')
-rw-r--r-- | src/rebar_string.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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]). |