Zensavona / domainatrex

:smiling_imp: A library for parsing TLDs from urls in Elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warnings when compiling

bortzmeyer opened this issue · comments

warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead
  lib/domainatrex.ex:7: Domainatrex
[several occurrences]

warning: this clause cannot match because a previous clause at line 109 always matches
  lib/domainatrex.ex:88
[several occurrences]

warning: :ssl.start/0 defined in application :ssl is used by the current application but the current application does not depend on :ssl. To fix this, you must do one of:

  1. If :ssl is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :ssl is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :ssl, you may optionally skip this warning by adding [xref: [exclude: [:ssl]]] to your "def project" in mix.exs

  lib/domainatrex.ex:16: Domainatrex

% elixir --version
Erlang/OTP 25 [erts-13.1.5] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit]

Elixir 1.14.3 (compiled with Erlang/OTP 25)

Thanks. Some of these are resolved.