Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Mix.Config warnings #139

Merged
merged 4 commits into from
Apr 10, 2024
Merged

Fix Mix.Config warnings #139

merged 4 commits into from
Apr 10, 2024

Commits on Apr 10, 2024

  1. Update utils.ex

    Remove warning:
    
    Compiling 5 files (.ex)
        warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead
        │
      6 │   if Application.get_env(:bypass, :enable_debug_log, false) do
        │                  ~
        │
        └─ lib/bypass/utils.ex:6:18: Bypass.Utils (module)
    bradhanks authored and bszaf committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    d609d19 View commit details
    Browse the repository at this point in the history
  2. fix Mix.Config warnings

    bradhanks authored and bszaf committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    422aeef View commit details
    Browse the repository at this point in the history
  3. Use compile_env!/2 instead of compile_env/3

    &Application.compile_env!/2 is available since 1.10.0, whereas
    the &Application.compile_env/3 since 1.14.0.
    bszaf committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    e74e845 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9482226 View commit details
    Browse the repository at this point in the history