Browse Source

do not show message; esl-erlang 23.3.4.5

221V 3 years ago
parent
commit
ef8d6616d5
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/active_compile_files.erl

+ 5 - 0
src/active_compile_files.erl

@@ -106,8 +106,13 @@ compile_one_erl(File, Path2, Emakefile_Settings) ->
           io:format("~nError!~n", []);
         {error, [], Warning} ->
           io:format("~nWarning: ~p~n", [Warning]);
+        
+        {error, [{File_Path, [{1,erl_lint,undefined_module}]}], []} ->
+          ok; % do not show message "undefined_module" when all ok
+        
         {error, Error, Warning} ->
           io:format("~nErrors and warnings:~n ~p~n ~p~n", [Error, Warning]);
+        
         _ ->
           io:format("ok~n", []),
           Module = erlang:list_to_atom(lists:flatten(string:replace(File, ".erl", ""))),