From 3dda9b833ca0beca80bc1355fafde9a16a9124e0 Mon Sep 17 00:00:00 2001 From: Rob Ashton Date: Fri, 12 Jun 2015 11:15:14 +0100 Subject: [PATCH] Apps should be used for include_lib too --- syntax_checkers/erlang/erlang_check_file.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntax_checkers/erlang/erlang_check_file.erl b/syntax_checkers/erlang/erlang_check_file.erl index e9158928..a7d0837b 100755 --- a/syntax_checkers/erlang/erlang_check_file.erl +++ b/syntax_checkers/erlang/erlang_check_file.erl @@ -50,8 +50,8 @@ rebar_opts(RebarFile) -> fallback_opts() -> code:add_pathsa(filelib:wildcard("deps/*/ebin")), code:add_pathsa(nested_app_ebins()), - [ { i, filename:absname("deps") } - | [ { i, filename:absname(Path) } || Path <- filelib:wildcard("deps/*/apps")] + [ + { i, filename:absname("apps") }, { i, filename:absname("deps") } | [ { i, filename:absname(Path) } || Path <- filelib:wildcard("deps/*/apps")] ]. nested_app_ebins() ->