Skip to content

Commit 16134ca

Browse files
committed
Use the Config module instead of Mix.Config is deprecated
Gets rid of: warning: use Mix.Config is deprecated. Use the Config module instead config/config.exs:3
1 parent cbd2fb6 commit 16134ca

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

config/config.exs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is responsible for configuring your application
2-
# and its dependencies with the aid of the Mix.Config module.
3-
use Mix.Config
2+
# and its dependencies with the aid of the Config module.
3+
import Config
44

55
# This configuration is loaded before any dependency and is restricted
66
# to this project. If another project depends on this project, this
@@ -27,4 +27,4 @@ use Mix.Config
2727
# Configuration from the imported file will override the ones defined
2828
# here (which is why it is important to import them last).
2929
#
30-
# import_config "#{Mix.env()}.exs"
30+
# import_config "#{config_env()}.exs"

mix.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
%{
2+
"uf2tool": {:hex, :uf2tool, "1.1.0", "7091931234ca5a256b66ea691983867d51229798622d083f85c1ad779798a734", [:rebar3], [], "hexpm", "1a7e5ca7ef3d19c7a0b0acf3db804b3188e0980884acffa13fd57d733507b73d"},
3+
}

0 commit comments

Comments
 (0)