From 69ebfb29fba19708aca1652bca01fb81abb092e6 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 27 Jul 2021 20:41:36 +0000 Subject: [PATCH] Update dev.exs error message to write to stderr. Currently it dumps this message at the beginnig of the file when using vim-autoformat with mix format --- config/dev.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/dev.exs b/config/dev.exs index 6b7ffb0e9..45e7f27ec 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -61,7 +61,7 @@ config :phoenix, :plug_init_mode, :runtime if File.exists?("./config/dev.secret.exs") do import_config "dev.secret.exs" else - IO.puts( + IO.warn( "!!! RUNNING IN LOCALHOST DEV MODE! !!!\nFEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs" ) end -- 2.45.2