summaryrefslogtreecommitdiff
path: root/src/rebar_prv_clean.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2017-06-13 07:17:07 -0400
committerFred Hebert <mononcqc@ferd.ca>2017-06-13 07:17:07 -0400
commit7f1301f635b8c07fd22ffdf1c9dcf6f5cbba8655 (patch)
tree16908378472fc97530593b0e6b63bc4807b2a5ea /src/rebar_prv_clean.erl
parent9b1aa9191027647eb370eb6b0d5fa9cbfacc21d4 (diff)
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.
Diffstat (limited to 'src/rebar_prv_clean.erl')
0 files changed, 0 insertions, 0 deletions