From 7f1301f635b8c07fd22ffdf1c9dcf6f5cbba8655 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Tue, 13 Jun 2017 07:17:07 -0400 Subject: Prevent xref crashes with undef behaviours When a given behaviour module does not exist, rebar3 brutally crashes. This patch makes it so instead, there is a warning output menitoning the missing behaviour, and this one is omitted from the unused function calls check. This means that unused calls will instead be shown for the module implementing a non-existing behaviour, as if no behaviour were declared in the first place. --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 34b6ef0..129c935 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ _checkouts .rebar3 rebar3 +rebar3.cmd _build .depsolver_plt *.beam -- cgit v1.1