From: Daniel Date: Tue, 27 Jul 2021 20:41:36 +0000 (+0000) Subject: Update dev.exs error message to write to stderr. Currently it dumps this message... X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=69ebfb29fba19708aca1652bca01fb81abb092e6;p=akkoma 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 --- 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