summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2019-07-24 10:38:31 -0400
committerGitHub <noreply@github.com>2019-07-24 10:38:31 -0400
commitf03e4f1cffc446fa5750da9b05afdbd946f7e16f (patch)
treee039df4da7419dcdc0bc0aee968859e61ad2081e
parent361e8e47d5857059b0483cbd8d6612eb37b454dd (diff)
parent6d8c544ecd0440ab959220f1cb121bb4ffa8678f (diff)
Merge pull request #2124 from robashton/master
de-duplicate dependency list in rebar_compiler_erl.erl
-rw-r--r--src/rebar_compiler_erl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_compiler_erl.erl b/src/rebar_compiler_erl.erl
index a39e906..95f3a17 100644
--- a/src/rebar_compiler_erl.erl
+++ b/src/rebar_compiler_erl.erl
@@ -255,7 +255,7 @@ parse_attrs(Fd, Includes, Dir) ->
parse_attrs(Fd, Includes, Dir)
end;
{eof, _} ->
- Includes;
+ lists:usort(Includes);
_Err ->
parse_attrs(Fd, Includes, Dir)
end.