From 543b874a103975e9b1b94fc362d4d71f0f7a39b4 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 2 Jul 2024 13:43:01 +0200 Subject: [PATCH] ext_mod: Handle case when contrib module has no *.ex and no *.erl --- src/ext_mod.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ext_mod.erl b/src/ext_mod.erl index 5da3b34e7..7eea46a93 100644 --- a/src/ext_mod.erl +++ b/src/ext_mod.erl @@ -1195,7 +1195,7 @@ is_elixir_module(Module) -> filelib:wildcard(Src++"/*.{erl}")} of {[_ | _], []} -> true; - {[], [_ | _]} -> + {[], _} -> false end.