From 6e118f651ebd9d0ecc4f9d164ceaa6911df82da0 Mon Sep 17 00:00:00 2001 From: Mitchell Hanberg Date: Fri, 7 Jun 2024 10:25:24 -0400 Subject: [PATCH] refactor: replace Mix.Config with Config --- config/config.exs | 4 ++-- config/dev.exs | 2 +- config/docs.exs | 2 +- config/prod.exs | 2 +- config/test.exs | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/config.exs b/config/config.exs index 427fa925..f6192d8f 100644 --- a/config/config.exs +++ b/config/config.exs @@ -1,4 +1,4 @@ -use Mix.Config +import Config config :wallaby, max_wait_time: 5000, @@ -8,4 +8,4 @@ config :wallaby, js_errors: true, hackney_options: [timeout: :infinity, recv_timeout: :infinity] -import_config "#{Mix.env()}.exs" +import_config "#{config_env()}.exs" diff --git a/config/dev.exs b/config/dev.exs index d2d855e6..becde769 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -1 +1 @@ -use Mix.Config +import Config diff --git a/config/docs.exs b/config/docs.exs index d2d855e6..becde769 100644 --- a/config/docs.exs +++ b/config/docs.exs @@ -1 +1 @@ -use Mix.Config +import Config diff --git a/config/prod.exs b/config/prod.exs index d2d855e6..becde769 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -1 +1 @@ -use Mix.Config +import Config diff --git a/config/test.exs b/config/test.exs index 22788d30..31f89b3c 100644 --- a/config/test.exs +++ b/config/test.exs @@ -1,4 +1,4 @@ -use Mix.Config +import Config # Prevents timeouts in ExUnit config :wallaby,